#40092F#40092F
#40092F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.094 H 343.5°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).
Color values
| HEX | #40092F |
|---|---|
| RGB | rgb(64, 9, 47) |
| HSL | hsl(319, 75%, 14%) |
| HSV | hsv(319, 86%, 25%) |
| CMYK | cmyk(0%, 85.9%, 26.6%, 74.9%) |
| CIE-LAB | lab(12.55, 29.97, -10.04) |
| CIE-LCH | lch(12.55, 31.61, 341.48°) |
| OKLab | oklab(25.86% 0.0905 -0.0268) |
| OKLCH | oklch(25.86% 0.094 343.5) |
| XYZ | xyz(2.7252, 1.4909, 2.8330) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 1.50
Aubergine
#3D0734
ΔE00 2.60
Eggplant
#380835
ΔE00 4.06
Plum (survey)
#580F41
ΔE00 5.34
Eggplant Purple
#430541
ΔE00 5.74
Deep Violet
#490648
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40092F #09401A
analogous
#360940 #40092F #400914
triadic
#40092F #2F4009 #092F40
tetradic
#40092F #403609 #09401A #091440
square
#40092F #403609 #09401A #091440
split-complementary
#40092F #144009 #094036
monochromatic
#1B0414 #1B0414 #40092F #761156 #AB187E
Accessibility & contrast
On white
16.18
#40092F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#40092F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40092F
16.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40092F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40092F | 1.00 | 16.18 | 1.30 | 16.18 |
| #FFFFFF | 16.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F1B30
Deuteranopia (green-blind)
#20242E
Tritanopia (blue-blind)
#45091B
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #40092f; /* rgb */ color: rgb(64, 9, 47); /* oklch */ color: oklch(25.9% 0.094 343.5);
Tailwind
colors: {
custom: {
50: '#774f67',
500: '#40092f',
950: '#000000',
},
}SCSS
$custom: #40092f; $custom-light: #774f67; $custom-dark: #000000;
JSON
{
"hex": "#40092f",
"rgb": {
"r": 64,
"g": 9,
"b": 47
},
"hsl": {
"h": 318.545,
"s": 75.342,
"l": 14.314
},
"oklch": {
"l": 0.25864,
"c": 0.09436,
"h": 343.5
},
"luminance": 0.01491
}Semantic roles & 50–950 ramp
primary
#40092F
secondary
#277E42
accent
#F27036
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A