#2F1126#2F1126
#2F1126 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.3% C 0.058 H 340.3°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1126 |
|---|---|
| RGB | rgb(47, 17, 38) |
| HSL | hsl(318, 47%, 13%) |
| HSV | hsv(318, 64%, 18%) |
| CMYK | cmyk(0%, 63.8%, 19.1%, 81.6%) |
| CIE-LAB | lab(10.15, 18.63, -7.37) |
| CIE-LCH | lch(10.15, 20.04, 338.43°) |
| OKLab | oklab(23.3% 0.055 -0.0197) |
| OKLCH | oklch(23.3% 0.058 340.3) |
| XYZ | xyz(1.7226, 1.1453, 1.9637) |
| Luminance | 0.0115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 6.72
Eggplant
#380835
ΔE00 6.76
Dark Plum
#3F012C
ΔE00 6.80
Very Dark Purple
#2A0134
ΔE00 9.24
Dark Purple
#35063E
ΔE00 9.56
Eggplant Purple
#430541
ΔE00 9.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1126 #112F1A
analogous
#29112F #2F1126 #2F1117
triadic
#2F1126 #262F11 #11262F
tetradic
#2F1126 #2F2911 #112F1A #11172F
square
#2F1126 #2F2911 #112F1A #11172F
split-complementary
#2F1126 #172F11 #112F29
monochromatic
#160812 #160812 #2F1126 #5C214A #89326F
Accessibility & contrast
On white
17.09
#2F1126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#2F1126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1126
17.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1126 | 1.00 | 17.09 | 1.23 | 17.09 |
| #FFFFFF | 17.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#121927
Deuteranopia (green-blind)
#1B1E25
Tritanopia (blue-blind)
#321219
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #2f1126; /* rgb */ color: rgb(47, 17, 38); /* oklch */ color: oklch(23.3% 0.058 340.3);
Tailwind
colors: {
custom: {
50: '#695060',
500: '#2f1126',
950: '#000000',
},
}SCSS
$custom: #2f1126; $custom-light: #695060; $custom-dark: #000000;
JSON
{
"hex": "#2f1126",
"rgb": {
"r": 47,
"g": 17,
"b": 38
},
"hsl": {
"h": 318,
"s": 46.875,
"l": 12.549
},
"oklch": {
"l": 0.23298,
"c": 0.05841,
"h": 340.3
},
"luminance": 0.01145
}Semantic roles & 50–950 ramp
primary
#2F1126
secondary
#346744
accent
#D77951
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879