#5A122B#5A122B
#5A122B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.105 H 4.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5A122B |
|---|---|
| RGB | rgb(90, 18, 43) |
| HSL | hsl(339, 67%, 21%) |
| HSV | hsv(339, 80%, 35%) |
| CMYK | cmyk(0%, 80%, 52.2%, 64.7%) |
| CIE-LAB | lab(19.15, 34.21, 3.26) |
| CIE-LCH | lch(19.15, 34.36, 5.44°) |
| OKLab | oklab(31.66% 0.1046 0.0087) |
| OKLCH | oklch(31.66% 0.105 4.7) |
| XYZ | xyz(4.8692, 2.7813, 2.5655) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.72
Maroon (survey)
#650021
ΔE00 5.11
Merlot
#730039
ΔE00 5.81
Bordeaux
#7B002C
ΔE00 7.51
Wine (survey)
#80013F
ΔE00 7.94
Plum (survey)
#580F41
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A122B #125A41
analogous
#5A124F #5A122B #5A1D12
triadic
#5A122B #2B5A12 #122B5A
tetradic
#5A122B #4F5A12 #125A41 #1D125A
square
#5A122B #4F5A12 #125A41 #1D125A
split-complementary
#5A122B #125A1D #124F5A
monochromatic
#1A050C #270813 #5A122B #8D1C43 #C0265C
Accessibility & contrast
On white
13.49
#5A122B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5A122B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A122B
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A122B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A122B | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23252C
Deuteranopia (green-blind)
#363429
Tritanopia (blue-blind)
#63041D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a122b; /* rgb */ color: rgb(90, 18, 43); /* oklch */ color: oklch(31.7% 0.105 4.7);
Tailwind
colors: {
custom: {
50: '#8d5764',
500: '#5a122b',
950: '#000000',
},
}SCSS
$custom: #5a122b; $custom-light: #8d5764; $custom-dark: #000000;
JSON
{
"hex": "#5a122b",
"rgb": {
"r": 90,
"g": 18,
"b": 43
},
"hsl": {
"h": 339.167,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.31661,
"c": 0.10497,
"h": 4.7
},
"luminance": 0.02781
}Semantic roles & 50–950 ramp
primary
#5A122B
secondary
#359372
accent
#EAAE3E
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879