#9A1E48#9A1E48
#9A1E48 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.160 H 6.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E48 |
|---|---|
| RGB | rgb(154, 30, 72) |
| HSL | hsl(340, 67%, 36%) |
| HSV | hsv(340, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 53.2%, 39.6%) |
| CIE-LAB | lab(34.54, 52.14, 7.25) |
| CIE-LCH | lch(34.54, 52.65, 7.91°) |
| OKLab | oklab(45.64% 0.1592 0.0188) |
| OKLCH | oklch(45.64% 0.16 6.7) |
| XYZ | xyz(14.9618, 8.2686, 6.9378) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.55
Purple Red
#990147
ΔE00 2.70
Cranberry
#9E003A
ΔE00 3.88
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.06
Violet Red
#A50055
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E48 #1E9A70
analogous
#9A1E86 #9A1E48 #9A321E
triadic
#9A1E48 #489A1E #1E489A
tetradic
#9A1E48 #869A1E #1E9A70 #321E9A
square
#9A1E48 #869A1E #1E9A70 #321E9A
split-complementary
#9A1E48 #1E9A32 #1E869A
monochromatic
#340A18 #671430 #9A1E48 #CD2860 #DE5583
Accessibility & contrast
On white
7.91
#9A1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9A1E48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E48
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E48 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9a1e48; /* rgb */ color: rgb(154, 30, 72); /* oklch */ color: oklch(45.6% 0.160 6.7);
Tailwind
colors: {
custom: {
50: '#be687a',
500: '#9a1e48',
950: '#000000',
},
}SCSS
$custom: #9a1e48; $custom-light: #be687a; $custom-dark: #000000;
JSON
{
"hex": "#9a1e48",
"rgb": {
"r": 154,
"g": 30,
"b": 72
},
"hsl": {
"h": 339.677,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.45642,
"c": 0.16025,
"h": 6.7
},
"luminance": 0.08266
}Semantic roles & 50–950 ramp
primary
#9A1E48
secondary
#53C19C
accent
#EAB03E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B