#28021E#28021E
#28021E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.1% C 0.076 H 340.5°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).
Color values
| HEX | #28021E |
|---|---|
| RGB | rgb(40, 2, 30) |
| HSL | hsl(316, 90%, 8%) |
| HSV | hsv(316, 95%, 16%) |
| CMYK | cmyk(0%, 95%, 25%, 84.3%) |
| CIE-LAB | lab(5.32, 22.28, -8.75) |
| CIE-LCH | lch(5.32, 23.94, 338.56°) |
| OKLab | oklab(19.07% 0.0716 -0.0254) |
| OKLCH | oklch(19.07% 0.076 340.5) |
| XYZ | xyz(1.1312, 0.5884, 1.2820) |
| Luminance | 0.0059 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 5.90
Eggplant
#380835
ΔE00 6.14
Aubergine
#3D0734
ΔE00 6.19
Very Dark Purple
#2A0134
ΔE00 7.82
Dark Purple
#35063E
ΔE00 8.85
Midnight Purple
#280137
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28021E #02280C
analogous
#1F0228 #28021E #28020B
triadic
#28021E #1E2802 #021E28
tetradic
#28021E #281F02 #02280C #020B28
square
#28021E #281F02 #02280C #020B28
split-complementary
#28021E #0B2802 #02281F
monochromatic
#1D0116 #1D0116 #28021E #62054A #9D0875
Accessibility & contrast
On white
18.79
#28021E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#28021E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28021E
18.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28021E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28021E | 1.00 | 18.79 | 1.12 | 18.79 |
| #FFFFFF | 18.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#040D1F
Deuteranopia (green-blind)
#10141D
Tritanopia (blue-blind)
#2B030E
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #28021e; /* rgb */ color: rgb(40, 2, 30); /* oklch */ color: oklch(19.1% 0.076 340.5);
Tailwind
colors: {
custom: {
50: '#634759',
500: '#28021e',
950: '#000000',
},
}SCSS
$custom: #28021e; $custom-light: #634759; $custom-dark: #000000;
JSON
{
"hex": "#28021e",
"rgb": {
"r": 40,
"g": 2,
"b": 30
},
"hsl": {
"h": 315.789,
"s": 90.476,
"l": 8.235
},
"oklch": {
"l": 0.19067,
"c": 0.07596,
"h": 340.5
},
"luminance": 0.00588
}Semantic roles & 50–950 ramp
primary
#28021E
secondary
#196D2F
accent
#FF6129
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778