#9F237E#9F237E
#9F237E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.183 H 341.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9F237E |
|---|---|
| RGB | rgb(159, 35, 126) |
| HSL | hsl(316, 64%, 38%) |
| HSV | hsv(316, 78%, 62%) |
| CMYK | cmyk(0%, 78%, 20.8%, 37.6%) |
| CIE-LAB | lab(37.99, 57.92, -21.91) |
| CIE-LCH | lch(37.99, 61.93, 339.28°) |
| OKLab | oklab(48.98% 0.1737 -0.059) |
| OKLCH | oklch(48.98% 0.183 341.2) |
| XYZ | xyz(18.6656, 10.0813, 20.6975) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.66
Red Violet
#9E0168
ΔE00 4.87
Barney Purple
#A00498
ΔE00 5.94
Light Eggplant
#894585
ΔE00 7.04
Magenta (survey)
#C20078
ΔE00 7.42
Darkmagenta
#8B008B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F237E #239F44
analogous
#82239F #9F237E #9F2340
triadic
#9F237E #7E9F23 #237E9F
tetradic
#9F237E #9F8223 #239F44 #23409F
square
#9F237E #9F8223 #239F44 #23409F
split-complementary
#9F237E #409F23 #239F82
monochromatic
#3B0D2F #6D1856 #9F237E #D12EA6 #DC60BB
Accessibility & contrast
On white
6.96
#9F237E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9F237E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F237E
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F237E | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A9264E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9f237e; /* rgb */ color: rgb(159, 35, 126); /* oklch */ color: oklch(49.0% 0.183 341.2);
Tailwind
colors: {
custom: {
50: '#bf6ca3',
500: '#9f237e',
950: '#000000',
},
}SCSS
$custom: #9f237e; $custom-light: #bf6ca3; $custom-dark: #000000;
JSON
{
"hex": "#9f237e",
"rgb": {
"r": 159,
"g": 35,
"b": 126
},
"hsl": {
"h": 315.968,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.48978,
"c": 0.18344,
"h": 341.2
},
"luminance": 0.10079
}Semantic roles & 50–950 ramp
primary
#9F237E
secondary
#5DC177
accent
#E76D41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F