#5A122D#5A122D
#5A122D is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.106 H 2.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5A122D |
|---|---|
| RGB | rgb(90, 18, 45) |
| HSL | hsl(338, 67%, 21%) |
| HSV | hsv(338, 80%, 35%) |
| CMYK | cmyk(0%, 80%, 50%, 64.7%) |
| CIE-LAB | lab(19.21, 34.41, 1.93) |
| CIE-LCH | lch(19.21, 34.47, 3.21°) |
| OKLab | oklab(31.73% 0.1054 0.0053) |
| OKLCH | oklch(31.73% 0.106 2.9) |
| XYZ | xyz(4.9068, 2.7964, 2.7635) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.32
Merlot
#730039
ΔE00 5.52
Maroon (survey)
#650021
ΔE00 5.77
Wine (survey)
#80013F
ΔE00 7.74
Plum (survey)
#580F41
ΔE00 7.78
Bordeaux
#7B002C
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A122D #125A3F
analogous
#5A1251 #5A122D #5A1B12
triadic
#5A122D #2D5A12 #122D5A
tetradic
#5A122D #515A12 #125A3F #1B125A
square
#5A122D #515A12 #125A3F #1B125A
split-complementary
#5A122D #125A1B #12515A
monochromatic
#1A050D #270813 #5A122D #8D1C46 #C02660
Accessibility & contrast
On white
13.47
#5A122D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5A122D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A122D
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A122D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A122D | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23262E
Deuteranopia (green-blind)
#36342B
Tritanopia (blue-blind)
#62051E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a122d; /* rgb */ color: rgb(90, 18, 45); /* oklch */ color: oklch(31.7% 0.106 2.9);
Tailwind
colors: {
custom: {
50: '#8d5765',
500: '#5a122d',
950: '#000000',
},
}SCSS
$custom: #5a122d; $custom-light: #8d5765; $custom-dark: #000000;
JSON
{
"hex": "#5a122d",
"rgb": {
"r": 90,
"g": 18,
"b": 45
},
"hsl": {
"h": 337.5,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.31728,
"c": 0.10555,
"h": 2.9
},
"luminance": 0.02796
}Semantic roles & 50–950 ramp
primary
#5A122D
secondary
#359370
accent
#EAA93E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A