#2F282B#2F282B
#2F282B is a dark, near-neutral pink. Relative luminance 0.023; OKLCH L 28.6% C 0.012 H 350.1°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F282B |
|---|---|
| RGB | rgb(47, 40, 43) |
| HSL | hsl(334, 8%, 17%) |
| HSV | hsv(334, 15%, 18%) |
| CMYK | cmyk(0%, 14.9%, 8.5%, 81.6%) |
| CIE-LAB | lab(16.97, 3.90, -0.77) |
| CIE-LCH | lch(16.97, 3.97, 348.79°) |
| OKLab | oklab(28.57% 0.0114 -0.002) |
| OKLCH | oklch(28.57% 0.012 350.1) |
| XYZ | xyz(2.3671, 2.2964, 2.6036) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Dark Grey
#363737
ΔE00 7.23
Onyx
#353839
ΔE00 8.23
Charcoal (survey)
#343837
ΔE00 9.25
Dark
#1B2431
ΔE00 9.74
Gunmetal
#2A3439
ΔE00 10.79
Charcoal Grey
#3C4142
ΔE00 10.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F282B #282F2C
analogous
#2F282F #2F282B #2F2928
triadic
#2F282B #2B2F28 #282B2F
tetradic
#2F282B #2F2F28 #282F2C #29282F
square
#2F282B #2F2F28 #282F2C #29282F
split-complementary
#2F282B #282F29 #282F2F
monochromatic
#110E0F #110E0F #2F282B #504449 #716067
Accessibility & contrast
On white
14.39
#2F282B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#2F282B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F282B
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F282B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F282B | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#2A2A2B
Tritanopia (blue-blind)
#302829
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2f282b; /* rgb */ color: rgb(47, 40, 43); /* oklch */ color: oklch(28.6% 0.012 350.1);
Tailwind
colors: {
custom: {
50: '#676164',
500: '#2f282b',
950: '#000000',
},
}SCSS
$custom: #2f282b; $custom-light: #676164; $custom-dark: #000000;
JSON
{
"hex": "#2f282b",
"rgb": {
"r": 47,
"g": 40,
"b": 43
},
"hsl": {
"h": 334.286,
"s": 8.046,
"l": 17.059
},
"oklch": {
"l": 0.28572,
"c": 0.01158,
"h": 350.1
},
"luminance": 0.02296
}Semantic roles & 50–950 ramp
primary
#2F282B
secondary
#545E5A
accent
#B19877
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060505
muted
#7A7979