#9E1948#9E1948
#9E1948 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 6.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1948 |
|---|---|
| RGB | rgb(158, 25, 72) |
| HSL | hsl(339, 73%, 36%) |
| HSV | hsv(339, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 54.4%, 38%) |
| CIE-LAB | lab(34.87, 54.60, 7.84) |
| CIE-LCH | lch(34.87, 55.15, 8.17°) |
| OKLab | oklab(46.03% 0.1666 0.0202) |
| OKLCH | oklch(46.03% 0.168 6.9) |
| XYZ | xyz(15.6194, 8.4345, 6.9352) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.66
Purple Red
#990147
ΔE00 2.69
Purplish Red
#B0054B
ΔE00 3.24
Raspberry (survey)
#B00149
ΔE00 3.32
Cranberry
#9E003A
ΔE00 3.59
Violet Red
#A50055
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1948 #199E6F
analogous
#9E198A #9E1948 #9E2C19
triadic
#9E1948 #489E19 #19489E
tetradic
#9E1948 #8A9E19 #199E6F #2C199E
square
#9E1948 #8A9E19 #199E6F #2C199E
split-complementary
#9E1948 #199E2C #198A9E
monochromatic
#340818 #691130 #9E1948 #D32160 #E34E83
Accessibility & contrast
On white
7.82
#9E1948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9E1948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1948
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1948 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1948; /* rgb */ color: rgb(158, 25, 72); /* oklch */ color: oklch(46.0% 0.168 6.9);
Tailwind
colors: {
custom: {
50: '#c1677a',
500: '#9e1948',
950: '#000000',
},
}SCSS
$custom: #9e1948; $custom-light: #c1677a; $custom-dark: #000000;
JSON
{
"hex": "#9e1948",
"rgb": {
"r": 158,
"g": 25,
"b": 72
},
"hsl": {
"h": 338.797,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.46033,
"c": 0.16786,
"h": 6.9
},
"luminance": 0.08432
}Semantic roles & 50–950 ramp
primary
#9E1948
secondary
#4EC59B
accent
#EFAF38
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B