#28151E#28151E
#28151E is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.6% C 0.034 H 350.3°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).
Color values
| HEX | #28151E |
|---|---|
| RGB | rgb(40, 21, 30) |
| HSL | hsl(332, 31%, 12%) |
| HSV | hsv(332, 48%, 16%) |
| CMYK | cmyk(0%, 47.5%, 25%, 84.3%) |
| CIE-LAB | lab(9.65, 11.34, -2.23) |
| CIE-LCH | lch(9.65, 11.56, 348.90°) |
| OKLab | oklab(22.56% 0.0338 -0.0058) |
| OKLCH | oklch(22.56% 0.034 350.3) |
| XYZ | xyz(1.3776, 1.0813, 1.3642) |
| Luminance | 0.0108 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 6.71
Dark Plum
#3F012C
ΔE00 12.14
Eggplant
#380835
ΔE00 12.28
Aubergine
#3D0734
ΔE00 12.31
Dark Maroon
#3C0008
ΔE00 12.76
Black
#000000
ΔE00 13.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28151E #15281F
analogous
#281528 #28151E #281615
triadic
#28151E #1E2815 #151E28
tetradic
#28151E #282815 #15281F #161528
square
#28151E #282815 #15281F #161528
split-complementary
#28151E #152816 #152828
monochromatic
#140B0F #140B0F #28151E #502A3C #783F5A
Accessibility & contrast
On white
17.27
#28151E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#28151E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28151E
17.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28151E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28151E | 1.00 | 17.27 | 1.22 | 17.27 |
| #FFFFFF | 17.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17191E
Deuteranopia (green-blind)
#1C1C1E
Tritanopia (blue-blind)
#2B1418
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #28151e; /* rgb */ color: rgb(40, 21, 30); /* oklch */ color: oklch(22.6% 0.034 350.3);
Tailwind
colors: {
custom: {
50: '#625259',
500: '#28151e',
950: '#000000',
},
}SCSS
$custom: #28151e; $custom-light: #625259; $custom-dark: #000000;
JSON
{
"hex": "#28151e",
"rgb": {
"r": 40,
"g": 21,
"b": 30
},
"hsl": {
"h": 331.579,
"s": 31.148,
"l": 11.961
},
"oklch": {
"l": 0.22557,
"c": 0.03433,
"h": 350.3
},
"luminance": 0.01081
}Semantic roles & 50–950 ramp
primary
#28151E
secondary
#3C5D4D
accent
#C79760
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878