#2F0812#2F0812
#2F0812 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.064 H 9.1°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F0812 |
|---|---|
| RGB | rgb(47, 8, 18) |
| HSL | hsl(345, 71%, 11%) |
| HSV | hsv(345, 83%, 18%) |
| CMYK | cmyk(0%, 83%, 61.7%, 81.6%) |
| CIE-LAB | lab(7.42, 20.67, 3.38) |
| CIE-LCH | lch(7.42, 20.94, 9.28°) |
| OKLab | oklab(21% 0.063 0.0101) |
| OKLCH | oklch(21% 0.064 9.1) |
| XYZ | xyz(1.3684, 0.8219, 0.6587) |
| Luminance | 0.0082 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.79
Very Dark Brown
#1D0200
ΔE00 8.46
Deep Brown
#410200
ΔE00 8.65
Dark Plum
#3F012C
ΔE00 10.02
Mahogany
#4A0100
ΔE00 10.84
Dried Blood
#4B0101
ΔE00 10.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F0812 #082F25
analogous
#2F0825 #2F0812 #2F1108
triadic
#2F0812 #122F08 #08122F
tetradic
#2F0812 #252F08 #082F25 #11082F
square
#2F0812 #252F08 #082F25 #11082F
split-complementary
#2F0812 #082F11 #08252F
monochromatic
#1A040A #1A040A #2F0812 #631126 #981A3A
Accessibility & contrast
On white
18.04
#2F0812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#2F0812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F0812
18.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F0812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F0812 | 1.00 | 18.04 | 1.16 | 18.04 |
| #FFFFFF | 18.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#111112
Deuteranopia (green-blind)
#1B1911
Tritanopia (blue-blind)
#34030C
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #2f0812; /* rgb */ color: rgb(47, 8, 18); /* oklch */ color: oklch(21.0% 0.064 9.1);
Tailwind
colors: {
custom: {
50: '#6a4a4f',
500: '#2f0812',
950: '#000000',
},
}SCSS
$custom: #2f0812; $custom-light: #6a4a4f; $custom-dark: #000000;
JSON
{
"hex": "#2f0812",
"rgb": {
"r": 47,
"g": 8,
"b": 18
},
"hsl": {
"h": 344.615,
"s": 70.909,
"l": 10.784
},
"oklch": {
"l": 0.20997,
"c": 0.0638,
"h": 9.1
},
"luminance": 0.00822
}Semantic roles & 50–950 ramp
primary
#2F0812
secondary
#256E5B
accent
#EEC03A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778