#9E2148#9E2148
#9E2148 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 8.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2148 |
|---|---|
| RGB | rgb(158, 33, 72) |
| HSL | hsl(341, 65%, 37%) |
| HSV | hsv(341, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 54.4%, 38%) |
| CIE-LAB | lab(35.65, 52.39, 8.93) |
| CIE-LCH | lch(35.65, 53.14, 9.67°) |
| OKLab | oklab(46.61% 0.1595 0.0228) |
| OKLCH | oklch(46.61% 0.161 8.1) |
| XYZ | xyz(15.8156, 8.8270, 7.0006) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.28
Raspberry (survey)
#B00149
ΔE00 3.31
Cranberry
#9E003A
ΔE00 3.59
Berry
#990F4B
ΔE00 3.67
Purple Red
#990147
ΔE00 3.78
Violet Red
#A50055
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2148 #219E77
analogous
#9E2187 #9E2148 #9E3921
triadic
#9E2148 #489E21 #21489E
tetradic
#9E2148 #879E21 #219E77 #39219E
square
#9E2148 #879E21 #219E77 #39219E
split-complementary
#9E2148 #219E39 #21879E
monochromatic
#390C1A #6B1631 #9E2148 #D12C5F #DD5C85
Accessibility & contrast
On white
7.59
#9E2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2148
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2148 | 1.00 | 7.59 | 2.76 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424449
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e2148; /* rgb */ color: rgb(158, 33, 72); /* oklch */ color: oklch(46.6% 0.161 8.1);
Tailwind
colors: {
custom: {
50: '#c1697a',
500: '#9e2148',
950: '#000000',
},
}SCSS
$custom: #9e2148; $custom-light: #c1697a; $custom-dark: #000000;
JSON
{
"hex": "#9e2148",
"rgb": {
"r": 158,
"g": 33,
"b": 72
},
"hsl": {
"h": 341.28,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.46605,
"c": 0.16113,
"h": 8.1
},
"luminance": 0.08825
}Semantic roles & 50–950 ramp
primary
#9E2148
secondary
#59C1A1
accent
#E8B43F
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B