#400F26#400F26
#400F26 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.080 H 355.2°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).
Color values
| HEX | #400F26 |
|---|---|
| RGB | rgb(64, 15, 38) |
| HSL | hsl(332, 62%, 15%) |
| HSV | hsv(332, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 40.6%, 74.9%) |
| CIE-LAB | lab(13.06, 26.08, -2.65) |
| CIE-LCH | lch(13.06, 26.22, 354.19°) |
| OKLab | oklab(26.1% 0.0798 -0.0067) |
| OKLCH | oklch(26.1% 0.08 355.2) |
| XYZ | xyz(2.6352, 1.5719, 1.9980) |
| Luminance | 0.0157 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 5.13
Aubergine
#3D0734
ΔE00 6.99
Plum (survey)
#580F41
ΔE00 7.80
Eggplant
#380835
ΔE00 8.16
Dark Maroon
#3C0008
ΔE00 8.90
Burgundy (survey)
#610023
ΔE00 9.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F26 #0F4029
analogous
#400F3E #400F26 #40110F
triadic
#400F26 #26400F #0F2640
tetradic
#400F26 #3E400F #0F4029 #110F40
square
#400F26 #3E400F #0F4029 #110F40
split-complementary
#400F26 #0F4011 #0F3E40
monochromatic
#19060F #19060F #400F26 #721B43 #A32661
Accessibility & contrast
On white
15.98
#400F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#400F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F26
15.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F26 | 1.00 | 15.98 | 1.31 | 15.98 |
| #FFFFFF | 15.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#181C27
Deuteranopia (green-blind)
#252525
Tritanopia (blue-blind)
#460B19
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #400f26; /* rgb */ color: rgb(64, 15, 38); /* oklch */ color: oklch(26.1% 0.080 355.2);
Tailwind
colors: {
custom: {
50: '#785160',
500: '#400f26',
950: '#000000',
},
}SCSS
$custom: #400f26; $custom-light: #785160; $custom-dark: #000000;
JSON
{
"hex": "#400f26",
"rgb": {
"r": 64,
"g": 15,
"b": 38
},
"hsl": {
"h": 331.837,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.26101,
"c": 0.08007,
"h": 355.2
},
"luminance": 0.01572
}Semantic roles & 50–950 ramp
primary
#400F26
secondary
#307A58
accent
#E59943
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879