#5F1226#5F1226
#5F1226 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.109 H 11.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1226 |
|---|---|
| RGB | rgb(95, 18, 38) |
| HSL | hsl(344, 68%, 22%) |
| HSV | hsv(344, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 60%, 62.7%) |
| CIE-LAB | lab(20.07, 35.38, 8.25) |
| CIE-LCH | lch(20.07, 36.33, 13.13°) |
| OKLab | oklab(32.49% 0.1072 0.0207) |
| OKLCH | oklch(32.49% 0.109 11) |
| XYZ | xyz(5.2860, 3.0062, 2.1353) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.28
Maroon (survey)
#650021
ΔE00 2.68
Bordeaux
#7B002C
ΔE00 5.71
Claret
#680018
ΔE00 5.78
Wine Red
#7B0323
ΔE00 6.84
Merlot
#730039
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1226 #125F4B
analogous
#5F124D #5F1226 #5F2512
triadic
#5F1226 #265F12 #12265F
tetradic
#5F1226 #4D5F12 #125F4B #25125F
square
#5F1226 #4D5F12 #125F4B #25125F
split-complementary
#5F1226 #125F25 #124D5F
monochromatic
#1A050A #2C0811 #5F1226 #921C3B #C6254F
Accessibility & contrast
On white
13.12
#5F1226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5F1226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1226
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1226 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262626
Deuteranopia (green-blind)
#3A3624
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1226; /* rgb */ color: rgb(95, 18, 38); /* oklch */ color: oklch(32.5% 0.109 11.0);
Tailwind
colors: {
custom: {
50: '#925860',
500: '#5f1226',
950: '#000000',
},
}SCSS
$custom: #5f1226; $custom-light: #925860; $custom-dark: #000000;
JSON
{
"hex": "#5f1226",
"rgb": {
"r": 95,
"g": 18,
"b": 38
},
"hsl": {
"h": 344.416,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.3249,
"c": 0.10915,
"h": 11
},
"luminance": 0.03005
}Semantic roles & 50–950 ramp
primary
#5F1226
secondary
#36977E
accent
#EBBE3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979