#28040E#28040E
#28040E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.7% C 0.062 H 7.4°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).
Color values
| HEX | #28040E |
|---|---|
| RGB | rgb(40, 4, 14) |
| HSL | hsl(343, 82%, 9%) |
| HSV | hsv(343, 90%, 16%) |
| CMYK | cmyk(0%, 90%, 65%, 84.3%) |
| CIE-LAB | lab(5.15, 18.33, 2.11) |
| CIE-LCH | lch(5.15, 18.45, 6.57°) |
| OKLab | oklab(18.66% 0.0615 0.008) |
| OKLCH | oklch(18.66% 0.062 7.4) |
| XYZ | xyz(0.9978, 0.5698, 0.4728) |
| Luminance | 0.0057 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 6.98
Dark Maroon
#3C0008
ΔE00 7.55
Deep Brown
#410200
ΔE00 10.20
Dark Plum
#3F012C
ΔE00 10.53
Aubergine
#3D0734
ΔE00 12.03
Mahogany
#4A0100
ΔE00 12.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28040E #04281E
analogous
#280420 #28040E #280C04
triadic
#28040E #0E2804 #040E28
tetradic
#28040E #202804 #04281E #0C0428
square
#28040E #202804 #04281E #0C0428
split-complementary
#28040E #04280C #042028
monochromatic
#1C030A #1C030A #28040E #600A21 #970F35
Accessibility & contrast
On white
18.85
#28040E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#28040E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28040E
18.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28040E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28040E | 1.00 | 18.85 | 1.11 | 18.85 |
| #FFFFFF | 18.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C0C0E
Deuteranopia (green-blind)
#16140D
Tritanopia (blue-blind)
#2D0007
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #28040e; /* rgb */ color: rgb(40, 4, 14); /* oklch */ color: oklch(18.7% 0.062 7.4);
Tailwind
colors: {
custom: {
50: '#64484d',
500: '#28040e',
950: '#000000',
},
}SCSS
$custom: #28040e; $custom-light: #64484d; $custom-dark: #000000;
JSON
{
"hex": "#28040e",
"rgb": {
"r": 40,
"g": 4,
"b": 14
},
"hsl": {
"h": 343.333,
"s": 81.818,
"l": 8.627
},
"oklch": {
"l": 0.18661,
"c": 0.06201,
"h": 7.4
},
"luminance": 0.0057
}Semantic roles & 50–950 ramp
primary
#28040E
secondary
#1D6B55
accent
#F8C030
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777