#5E1227#5E1227
#5E1227 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 9.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1227 |
|---|---|
| RGB | rgb(94, 18, 39) |
| HSL | hsl(343, 68%, 22%) |
| HSV | hsv(343, 81%, 37%) |
| CMYK | cmyk(0%, 80.9%, 58.5%, 63.1%) |
| CIE-LAB | lab(19.88, 35.14, 7.25) |
| CIE-LCH | lch(19.88, 35.88, 11.66°) |
| OKLab | oklab(32.32% 0.1067 0.0184) |
| OKLCH | oklch(32.32% 0.108 9.8) |
| XYZ | xyz(5.1991, 2.9595, 2.2165) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.32
Maroon (survey)
#650021
ΔE00 3.06
Bordeaux
#7B002C
ΔE00 5.98
Claret
#680018
ΔE00 6.37
Merlot
#730039
ΔE00 6.55
Wine
#722F37
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1227 #125E49
analogous
#5E124D #5E1227 #5E2312
triadic
#5E1227 #275E12 #12275E
tetradic
#5E1227 #4D5E12 #125E49 #23125E
square
#5E1227 #4D5E12 #125E49 #23125E
split-complementary
#5E1227 #125E23 #124D5E
monochromatic
#1A050B #2B0812 #5E1227 #911C3C #C52652
Accessibility & contrast
On white
13.19
#5E1227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5E1227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1227
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1227 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262627
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#67001B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5e1227; /* rgb */ color: rgb(94, 18, 39); /* oklch */ color: oklch(32.3% 0.108 9.8);
Tailwind
colors: {
custom: {
50: '#915860',
500: '#5e1227',
950: '#000000',
},
}SCSS
$custom: #5e1227; $custom-light: #915860; $custom-dark: #000000;
JSON
{
"hex": "#5e1227",
"rgb": {
"r": 94,
"g": 18,
"b": 39
},
"hsl": {
"h": 343.421,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.32321,
"c": 0.10824,
"h": 9.8
},
"luminance": 0.02959
}Semantic roles & 50–950 ramp
primary
#5E1227
secondary
#35967C
accent
#EBBB3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979