#2F0817#2F0817
#2F0817 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.065 H 0.8°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F0817 |
|---|---|
| RGB | rgb(47, 8, 23) |
| HSL | hsl(337, 71%, 11%) |
| HSV | hsv(337, 83%, 18%) |
| CMYK | cmyk(0%, 83%, 51.1%, 81.6%) |
| CIE-LAB | lab(7.59, 21.30, 0.24) |
| CIE-LCH | lch(7.59, 21.30, 0.64°) |
| OKLab | oklab(21.18% 0.0653 0.0009) |
| OKLCH | oklch(21.18% 0.065 0.8) |
| XYZ | xyz(1.4139, 0.8400, 0.8981) |
| Luminance | 0.0084 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 7.36
Dark Plum
#3F012C
ΔE00 8.10
Very Dark Brown
#1D0200
ΔE00 9.37
Aubergine
#3D0734
ΔE00 9.78
Eggplant
#380835
ΔE00 10.47
Deep Brown
#410200
ΔE00 10.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F0817 #082F20
analogous
#2F082A #2F0817 #2F0C08
triadic
#2F0817 #172F08 #08172F
tetradic
#2F0817 #2A2F08 #082F20 #0C082F
square
#2F0817 #2A2F08 #082F20 #0C082F
split-complementary
#2F0817 #082F0C #082A2F
monochromatic
#1A040D #1A040D #2F0817 #631131 #981A4A
Accessibility & contrast
On white
17.98
#2F0817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#2F0817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F0817
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F0817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F0817 | 1.00 | 17.98 | 1.17 | 17.98 |
| #FFFFFF | 17.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#101217
Deuteranopia (green-blind)
#1A1916
Tritanopia (blue-blind)
#34040E
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #2f0817; /* rgb */ color: rgb(47, 8, 23); /* oklch */ color: oklch(21.2% 0.065 0.8);
Tailwind
colors: {
custom: {
50: '#6a4a53',
500: '#2f0817',
950: '#000000',
},
}SCSS
$custom: #2f0817; $custom-light: #6a4a53; $custom-dark: #000000;
JSON
{
"hex": "#2f0817",
"rgb": {
"r": 47,
"g": 8,
"b": 23
},
"hsl": {
"h": 336.923,
"s": 70.909,
"l": 10.784
},
"oklch": {
"l": 0.2118,
"c": 0.06532,
"h": 0.8
},
"luminance": 0.0084
}Semantic roles & 50–950 ramp
primary
#2F0817
secondary
#256E52
accent
#EEA93A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778