#5A122E#5A122E
#5A122E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.106 H 2.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5A122E |
|---|---|
| RGB | rgb(90, 18, 46) |
| HSL | hsl(337, 67%, 21%) |
| HSV | hsv(337, 80%, 35%) |
| CMYK | cmyk(0%, 80%, 48.9%, 64.7%) |
| CIE-LAB | lab(19.24, 34.52, 1.27) |
| CIE-LCH | lch(19.24, 34.54, 2.10°) |
| OKLab | oklab(31.76% 0.1058 0.0036) |
| OKLCH | oklch(31.76% 0.106 2) |
| XYZ | xyz(4.9263, 2.8042, 2.8661) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.64
Merlot
#730039
ΔE00 5.41
Maroon (survey)
#650021
ΔE00 6.11
Plum (survey)
#580F41
ΔE00 7.39
Wine (survey)
#80013F
ΔE00 7.68
Bordeaux
#7B002C
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A122E #125A3E
analogous
#5A1252 #5A122E #5A1A12
triadic
#5A122E #2E5A12 #122E5A
tetradic
#5A122E #525A12 #125A3E #1A125A
square
#5A122E #525A12 #125A3E #1A125A
split-complementary
#5A122E #125A1A #12525A
monochromatic
#1A050D #270814 #5A122E #8D1C48 #C02662
Accessibility & contrast
On white
13.45
#5A122E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5A122E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A122E
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A122E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A122E | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22262F
Deuteranopia (green-blind)
#36342C
Tritanopia (blue-blind)
#62051E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a122e; /* rgb */ color: rgb(90, 18, 46); /* oklch */ color: oklch(31.8% 0.106 2.0);
Tailwind
colors: {
custom: {
50: '#8d5766',
500: '#5a122e',
950: '#000000',
},
}SCSS
$custom: #5a122e; $custom-light: #8d5766; $custom-dark: #000000;
JSON
{
"hex": "#5a122e",
"rgb": {
"r": 90,
"g": 18,
"b": 46
},
"hsl": {
"h": 336.667,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.31763,
"c": 0.10588,
"h": 2
},
"luminance": 0.02804
}Semantic roles & 50–950 ramp
primary
#5A122E
secondary
#35936E
accent
#EAA73E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A