#9E237A#9E237A
#9E237A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.180 H 342.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E237A |
|---|---|
| RGB | rgb(158, 35, 122) |
| HSL | hsl(318, 64%, 38%) |
| HSV | hsv(318, 78%, 62%) |
| CMYK | cmyk(0%, 77.8%, 22.8%, 38%) |
| CIE-LAB | lab(37.62, 57.14, -20.00) |
| CIE-LCH | lch(37.62, 60.54, 340.71°) |
| OKLab | oklab(48.62% 0.1721 -0.0536) |
| OKLCH | oklch(48.62% 0.18 342.7) |
| XYZ | xyz(18.2151, 9.8782, 19.3560) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.18
Warm Purple
#952E8F
ΔE00 5.35
Barney Purple
#A00498
ΔE00 6.66
Deep Magenta
#A0025C
ΔE00 6.91
Magenta (survey)
#C20078
ΔE00 7.21
Light Eggplant
#894585
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E237A #239E47
analogous
#84239E #9E237A #9E233C
triadic
#9E237A #7A9E23 #237A9E
tetradic
#9E237A #9E8423 #239E47 #233C9E
square
#9E237A #9E8423 #239E47 #233C9E
split-complementary
#9E237A #3C9E23 #239E84
monochromatic
#3A0D2D #6C1853 #9E237A #D02EA1 #DC60B7
Accessibility & contrast
On white
7.06
#9E237A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9E237A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E237A
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E237A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E237A | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#576077
Tritanopia (blue-blind)
#A8244C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e237a; /* rgb */ color: rgb(158, 35, 122); /* oklch */ color: oklch(48.6% 0.180 342.7);
Tailwind
colors: {
custom: {
50: '#bf6ca0',
500: '#9e237a',
950: '#000000',
},
}SCSS
$custom: #9e237a; $custom-light: #bf6ca0; $custom-dark: #000000;
JSON
{
"hex": "#9e237a",
"rgb": {
"r": 158,
"g": 35,
"b": 122
},
"hsl": {
"h": 317.561,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.48621,
"c": 0.18028,
"h": 342.7
},
"luminance": 0.09876
}Semantic roles & 50–950 ramp
primary
#9E237A
secondary
#5CC17A
accent
#E77241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E