#9E237D#9E237D
#9E237D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.182 H 341.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9E237D |
|---|---|
| RGB | rgb(158, 35, 125) |
| HSL | hsl(316, 64%, 38%) |
| HSV | hsv(316, 78%, 62%) |
| CMYK | cmyk(0%, 77.8%, 20.9%, 38%) |
| CIE-LAB | lab(37.76, 57.54, -21.66) |
| CIE-LCH | lch(37.76, 61.48, 339.37°) |
| OKLab | oklab(48.76% 0.1726 -0.0583) |
| OKLCH | oklch(48.76% 0.182 341.3) |
| XYZ | xyz(18.4039, 9.9537, 20.3501) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.72
Red Violet
#9E0168
ΔE00 4.73
Barney Purple
#A00498
ΔE00 6.03
Light Eggplant
#894585
ΔE00 7.04
Magenta (survey)
#C20078
ΔE00 7.52
Deep Magenta
#A0025C
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E237D #239E44
analogous
#82239E #9E237D #9E233F
triadic
#9E237D #7D9E23 #237D9E
tetradic
#9E237D #9E8223 #239E44 #233F9E
square
#9E237D #9E8223 #239E44 #233F9E
split-complementary
#9E237D #3F9E23 #239E82
monochromatic
#3A0D2E #6C1855 #9E237D #D02EA5 #DC60BA
Accessibility & contrast
On white
7.02
#9E237D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#9E237D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E237D
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E237D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E237D | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A8264E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e237d; /* rgb */ color: rgb(158, 35, 125); /* oklch */ color: oklch(48.8% 0.182 341.3);
Tailwind
colors: {
custom: {
50: '#bf6ca3',
500: '#9e237d',
950: '#000000',
},
}SCSS
$custom: #9e237d; $custom-light: #bf6ca3; $custom-dark: #000000;
JSON
{
"hex": "#9e237d",
"rgb": {
"r": 158,
"g": 35,
"b": 125
},
"hsl": {
"h": 316.098,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.48764,
"c": 0.18219,
"h": 341.3
},
"luminance": 0.09952
}Semantic roles & 50–950 ramp
primary
#9E237D
secondary
#5CC177
accent
#E76E41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F