#5F1126#5F1126
#5F1126 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.110 H 10.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1126 |
|---|---|
| RGB | rgb(95, 17, 38) |
| HSL | hsl(344, 70%, 22%) |
| HSV | hsv(344, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 60%, 62.7%) |
| CIE-LAB | lab(19.94, 35.74, 8.08) |
| CIE-LCH | lch(19.94, 36.64, 12.74°) |
| OKLab | oklab(32.4% 0.1083 0.0203) |
| OKLCH | oklch(32.4% 0.11 10.6) |
| XYZ | xyz(5.2701, 2.9745, 2.1300) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.11
Maroon (survey)
#650021
ΔE00 2.62
Bordeaux
#7B002C
ΔE00 5.68
Claret
#680018
ΔE00 5.87
Merlot
#730039
ΔE00 6.72
Wine Red
#7B0323
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1126 #115F4A
analogous
#5F114D #5F1126 #5F2311
triadic
#5F1126 #265F11 #11265F
tetradic
#5F1126 #4D5F11 #115F4A #23115F
square
#5F1126 #4D5F11 #115F4A #23115F
split-complementary
#5F1126 #115F23 #114D5F
monochromatic
#1A050A #2B0811 #5F1126 #931A3B #C72450
Accessibility & contrast
On white
13.17
#5F1126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1126
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1126 | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 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: #5f1126; /* rgb */ color: rgb(95, 17, 38); /* oklch */ color: oklch(32.4% 0.110 10.6);
Tailwind
colors: {
custom: {
50: '#925860',
500: '#5f1126',
950: '#000000',
},
}SCSS
$custom: #5f1126; $custom-light: #925860; $custom-dark: #000000;
JSON
{
"hex": "#5f1126",
"rgb": {
"r": 95,
"g": 17,
"b": 38
},
"hsl": {
"h": 343.846,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32396,
"c": 0.1102,
"h": 10.6
},
"luminance": 0.02974
}Semantic roles & 50–950 ramp
primary
#5F1126
secondary
#34987D
accent
#ECBD3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979