#9F237F#9F237F
#9F237F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.184 H 340.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9F237F |
|---|---|
| RGB | rgb(159, 35, 127) |
| HSL | hsl(315, 64%, 38%) |
| HSV | hsv(315, 78%, 62%) |
| CMYK | cmyk(0%, 78%, 20.1%, 37.6%) |
| CIE-LAB | lab(38.03, 58.06, -22.46) |
| CIE-LCH | lch(38.03, 62.25, 338.85°) |
| OKLab | oklab(49.03% 0.1738 -0.0606) |
| OKLCH | oklch(49.03% 0.184 340.8) |
| XYZ | xyz(18.7305, 10.1072, 21.0390) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.46
Red Violet
#9E0168
ΔE00 5.06
Barney Purple
#A00498
ΔE00 5.73
Light Eggplant
#894585
ΔE00 6.98
Darkmagenta
#8B008B
ΔE00 7.49
Magenta (survey)
#C20078
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F237F #239F43
analogous
#81239F #9F237F #9F2341
triadic
#9F237F #7F9F23 #237F9F
tetradic
#9F237F #9F8123 #239F43 #23419F
square
#9F237F #9F8123 #239F43 #23419F
split-complementary
#9F237F #419F23 #239F81
monochromatic
#3B0D2F #6D1857 #9F237F #D12EA7 #DC60BC
Accessibility & contrast
On white
6.95
#9F237F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9F237F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F237F
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F237F | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#56617C
Tritanopia (blue-blind)
#A9264F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9f237f; /* rgb */ color: rgb(159, 35, 127); /* oklch */ color: oklch(49.0% 0.184 340.8);
Tailwind
colors: {
custom: {
50: '#bf6ca4',
500: '#9f237f',
950: '#000000',
},
}SCSS
$custom: #9f237f; $custom-light: #bf6ca4; $custom-dark: #000000;
JSON
{
"hex": "#9f237f",
"rgb": {
"r": 159,
"g": 35,
"b": 127
},
"hsl": {
"h": 315.484,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.49026,
"c": 0.18408,
"h": 340.8
},
"luminance": 0.10105
}Semantic roles & 50–950 ramp
primary
#9F237F
secondary
#5DC177
accent
#E76C41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F