#901238#901238
#901238 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 11.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #901238 |
|---|---|
| RGB | rgb(144, 18, 56) |
| HSL | hsl(342, 78%, 32%) |
| HSV | hsv(342, 88%, 56%) |
| CMYK | cmyk(0%, 87.5%, 61.1%, 43.5%) |
| CIE-LAB | lab(30.99, 51.25, 12.55) |
| CIE-LCH | lch(30.99, 52.77, 13.76°) |
| OKLab | oklab(42.54% 0.155 0.0311) |
| OKLCH | oklch(42.54% 0.158 11.3) |
| XYZ | xyz(12.4330, 6.6493, 4.3694) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.68
Cranberry
#9E003A
ΔE00 2.56
Bordeaux
#7B002C
ΔE00 4.68
Purple Red
#990147
ΔE00 4.74
Berry
#990F4B
ΔE00 5.37
Wine Red
#7B0323
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901238 #12906A
analogous
#901277 #901238 #902B12
triadic
#901238 #389012 #123890
tetradic
#901238 #779012 #12906A #2B1290
square
#901238 #779012 #12906A #2B1290
split-complementary
#901238 #12902B #127790
monochromatic
#23040E #5A0B23 #901238 #C6194D #E6366B
Accessibility & contrast
On white
9.02
#901238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#901238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901238
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901238 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393939
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9E0024
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #901238; /* rgb */ color: rgb(144, 18, 56); /* oklch */ color: oklch(42.5% 0.158 11.3);
Tailwind
colors: {
custom: {
50: '#b7616e',
500: '#901238',
950: '#000000',
},
}SCSS
$custom: #901238; $custom-light: #b7616e; $custom-dark: #000000;
JSON
{
"hex": "#901238",
"rgb": {
"r": 144,
"g": 18,
"b": 56
},
"hsl": {
"h": 341.905,
"s": 77.778,
"l": 31.765
},
"oklch": {
"l": 0.42544,
"c": 0.15809,
"h": 11.3
},
"luminance": 0.06647
}Semantic roles & 50–950 ramp
primary
#901238
secondary
#3AC49A
accent
#F4BA34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A