#5a0c1f Color Information

In a RGB color space, hex #5a0c1f is composed of 35.3% red, 4.7% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 86.7% magenta, 65.6% yellow and 64.7% black. It has a hue angle of 345.4 degrees, a saturation of 76.5% and a lightness of 20%. #5a0c1f color hex could be obtained by blending #b4183e with #000000. Closest websafe color is: #660033.

    • R 35
    • G 5
    • B 12
    RGB color chart
    • C 0
    • M 87
    • Y 66
    • K 65
    CMYK color chart

#5a0c1f color description : Very dark red.

#5a0c1f Color Conversion

The hexadecimal color #5a0c1f has RGB values of R:90, G:12, B:31 and CMYK values of C:0, M:0.87, Y:0.66, K:0.65. Its decimal value is 5901343.

Hex triplet 5a0c1f #5a0c1f
RGB Decimal 90, 12, 31 rgb(90,12,31)
RGB Percent 35.3, 4.7, 12.2 rgb(35.3%,4.7%,12.2%)
CMYK 0, 87, 66, 65
HSL 345.4°, 76.5, 20 hsl(345.4,76.5%,20%)
HSV (or HSB) 345.4°, 86.7, 35.3
Web Safe 660033 #660033
CIE-LAB 18.081, 35.251, 10.354
XYZ 4.595, 2.536, 1.544
xyY 0.53, 0.292, 2.536
CIE-LCH 18.081, 36.74, 16.368
CIE-LUV 18.081, 44.906, 3.418
Hunter-Lab 15.925, 23.64, 5.4
Binary 01011010, 00001100, 00011111

Color Schemes with #5a0c1f

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #5a0c1f

Below, you can see some colors close to #5a0c1f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5a0c1f Preview

Text with hexadecimal color #5a0c1f

This text has a font color of #5a0c1f.

<span style="color:#5a0c1f;">Text here</span>
#5a0c1f background color

This paragraph has a background color of #5a0c1f.

<p style="background-color:#5a0c1f;">Content here</p>
#5a0c1f border color

This element has a border color of #5a0c1f.

<div style="border:1px solid #5a0c1f;">Content here</div>
CSS codes
.text {color:#5a0c1f;}
.background {background-color:#5a0c1f;}
.border {border:1px solid #5a0c1f;}

Shades and Tints of #5a0c1f

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #030001 is the darkest color, while #fdf1f4 is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a0c1f

A tone is produced by adding gray to any pure hue. In this case, #372f31 is the less saturated color, while #660019 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0c1f is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

  • #252525 Achromatopsia 0.005% of the population
  • #302024 Atypical Achromatopsia 0.001% of the population
  • #383636 Protanopia 1% of men
  • #413425 Deuteranopia 1% of men
  • #621b1c Tritanopia 0.001% of the population
  • #44272e Protanomaly 1% of men, 0.01% of women
  • #4a2623 Deuteranomaly 6% of men, 0.4% of women
  • #5f161d Tritanomaly 0.01% of the population