#2F181F#2F181F
#2F181F is a very dark, muted pink. Relative luminance 0.014; OKLCH L 24.3% C 0.038 H 0.7°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F181F |
|---|---|
| RGB | rgb(47, 24, 31) |
| HSL | hsl(342, 32%, 14%) |
| HSV | hsv(342, 49%, 18%) |
| CMYK | cmyk(0%, 48.9%, 34%, 81.6%) |
| CIE-LAB | lab(11.67, 12.68, 0.12) |
| CIE-LCH | lch(11.67, 12.68, 0.55°) |
| OKLab | oklab(24.34% 0.0384 0.0005) |
| OKLCH | oklch(24.34% 0.038 0.7) |
| XYZ | xyz(1.7463, 1.3567, 1.4659) |
| Luminance | 0.0136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 6.87
Dark Maroon
#3C0008
ΔE00 11.05
Dark Plum
#3F012C
ΔE00 11.91
Aubergine
#3D0734
ΔE00 12.46
Eggplant
#380835
ΔE00 12.72
Deep Brown
#410200
ΔE00 12.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F181F #182F28
analogous
#2F182B #2F181F #2F1D18
triadic
#2F181F #1F2F18 #181F2F
tetradic
#2F181F #2B2F18 #182F28 #1D182F
square
#2F181F #2B2F18 #182F28 #1D182F
split-complementary
#2F181F #182F1D #182B2F
monochromatic
#140A0D #140A0D #2F181F #582D3A #804154
Accessibility & contrast
On white
16.52
#2F181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#2F181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F181F
16.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F181F | 1.00 | 16.52 | 1.27 | 16.52 |
| #FFFFFF | 16.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#21201E
Tritanopia (blue-blind)
#33171A
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #2f181f; /* rgb */ color: rgb(47, 24, 31); /* oklch */ color: oklch(24.3% 0.038 0.7);
Tailwind
colors: {
custom: {
50: '#68555a',
500: '#2f181f',
950: '#000000',
},
}SCSS
$custom: #2f181f; $custom-light: #68555a; $custom-dark: #000000;
JSON
{
"hex": "#2f181f",
"rgb": {
"r": 47,
"g": 24,
"b": 31
},
"hsl": {
"h": 341.739,
"s": 32.394,
"l": 13.922
},
"oklch": {
"l": 0.24343,
"c": 0.03835,
"h": 0.7
},
"luminance": 0.01357
}Semantic roles & 50–950 ramp
primary
#2F181F
secondary
#3F6459
accent
#C9A85F
background
#F6F4F5
surface
#EBE8E9
border
#C6C4C5
text
#060303
muted
#7A7878