#901240#901240
#901240 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.159 H 6.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #901240 |
|---|---|
| RGB | rgb(144, 18, 64) |
| HSL | hsl(338, 78%, 32%) |
| HSV | hsv(338, 88%, 56%) |
| CMYK | cmyk(0%, 87.5%, 55.6%, 43.5%) |
| CIE-LAB | lab(31.19, 51.83, 7.51) |
| CIE-LCH | lch(31.19, 52.37, 8.25°) |
| OKLab | oklab(42.75% 0.1582 0.0193) |
| OKLCH | oklch(42.75% 0.159 6.9) |
| XYZ | xyz(12.6446, 6.7339, 5.4835) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.42
Berry
#990F4B
ΔE00 2.94
Red Wine
#8C0034
ΔE00 3.00
Cranberry
#9E003A
ΔE00 3.91
Mulberry
#920A4E
ΔE00 4.49
Wine (survey)
#80013F
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901240 #129062
analogous
#90127F #901240 #902312
triadic
#901240 #409012 #124090
tetradic
#901240 #7F9012 #129062 #231290
square
#901240 #7F9012 #129062 #231290
split-complementary
#901240 #129023 #127F90
monochromatic
#230410 #5A0B28 #901240 #C61958 #E63677
Accessibility & contrast
On white
8.95
#901240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#901240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901240
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901240 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9E0028
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #901240; /* rgb */ color: rgb(144, 18, 64); /* oklch */ color: oklch(42.8% 0.159 6.9);
Tailwind
colors: {
custom: {
50: '#b76274',
500: '#901240',
950: '#000000',
},
}SCSS
$custom: #901240; $custom-light: #b76274; $custom-dark: #000000;
JSON
{
"hex": "#901240",
"rgb": {
"r": 144,
"g": 18,
"b": 64
},
"hsl": {
"h": 338.095,
"s": 77.778,
"l": 31.765
},
"oklch": {
"l": 0.42754,
"c": 0.15938,
"h": 6.9
},
"luminance": 0.06732
}Semantic roles & 50–950 ramp
primary
#901240
secondary
#3AC492
accent
#F4AE34
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#120608
muted
#817A7B