#9E1F48#9E1F48
#9E1F48 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 7.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F48 |
|---|---|
| RGB | rgb(158, 31, 72) |
| HSL | hsl(341, 67%, 37%) |
| HSV | hsv(341, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 54.4%, 38%) |
| CIE-LAB | lab(35.44, 52.98, 8.63) |
| CIE-LCH | lch(35.44, 53.68, 9.25°) |
| OKLab | oklab(46.45% 0.1614 0.0221) |
| OKLCH | oklch(46.45% 0.163 7.8) |
| XYZ | xyz(15.7617, 8.7192, 6.9827) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.23
Raspberry (survey)
#B00149
ΔE00 3.27
Berry
#990F4B
ΔE00 3.39
Purple Red
#990147
ΔE00 3.48
Cranberry
#9E003A
ΔE00 3.55
Violet Red
#A50055
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F48 #1F9E75
analogous
#9E1F88 #9E1F48 #9E361F
triadic
#9E1F48 #489E1F #1F489E
tetradic
#9E1F48 #889E1F #1F9E75 #361F9E
square
#9E1F48 #889E1F #1F9E75 #361F9E
split-complementary
#9E1F48 #1F9E36 #1F889E
monochromatic
#380B19 #6B1531 #9E1F48 #D1295F #DE5984
Accessibility & contrast
On white
7.65
#9E1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F48
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F48 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f48; /* rgb */ color: rgb(158, 31, 72); /* oklch */ color: oklch(46.4% 0.163 7.8);
Tailwind
colors: {
custom: {
50: '#c1697a',
500: '#9e1f48',
950: '#000000',
},
}SCSS
$custom: #9e1f48; $custom-light: #c1697a; $custom-dark: #000000;
JSON
{
"hex": "#9e1f48",
"rgb": {
"r": 158,
"g": 31,
"b": 72
},
"hsl": {
"h": 340.63,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46449,
"c": 0.16294,
"h": 7.8
},
"luminance": 0.08717
}Semantic roles & 50–950 ramp
primary
#9E1F48
secondary
#56C2A0
accent
#EAB23E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B