#9D237F#9D237F
#9D237F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.183 H 340.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9D237F |
|---|---|
| RGB | rgb(157, 35, 127) |
| HSL | hsl(315, 64%, 38%) |
| HSV | hsv(315, 78%, 62%) |
| CMYK | cmyk(0%, 77.7%, 19.1%, 38.4%) |
| CIE-LAB | lab(37.67, 57.58, -23.06) |
| CIE-LCH | lch(37.67, 62.02, 338.18°) |
| OKLab | oklab(48.7% 0.1719 -0.0623) |
| OKLCH | oklch(48.7% 0.183 340.1) |
| XYZ | xyz(18.3370, 9.9043, 21.0206) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.18
Red Violet
#9E0168
ΔE00 5.16
Barney Purple
#A00498
ΔE00 5.52
Light Eggplant
#894585
ΔE00 6.84
Darkmagenta
#8B008B
ΔE00 7.10
Bruise
#7E4071
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D237F #239D41
analogous
#7E239D #9D237F #9D2342
triadic
#9D237F #7F9D23 #237F9D
tetradic
#9D237F #9D7E23 #239D41 #23429D
square
#9D237F #9D7E23 #239D41 #23429D
split-complementary
#9D237F #429D23 #239D7E
monochromatic
#390D2E #6B1857 #9D237F #CF2EA7 #DB5FBD
Accessibility & contrast
On white
7.05
#9D237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9D237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D237F
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D237F | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A7274F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9d237f; /* rgb */ color: rgb(157, 35, 127); /* oklch */ color: oklch(48.7% 0.183 340.1);
Tailwind
colors: {
custom: {
50: '#be6ca4',
500: '#9d237f',
950: '#000000',
},
}SCSS
$custom: #9d237f; $custom-light: #be6ca4; $custom-dark: #000000;
JSON
{
"hex": "#9d237f",
"rgb": {
"r": 157,
"g": 35,
"b": 127
},
"hsl": {
"h": 314.754,
"s": 63.542,
"l": 37.647
},
"oklch": {
"l": 0.48696,
"c": 0.18287,
"h": 340.1
},
"luminance": 0.09902
}Semantic roles & 50–950 ramp
primary
#9D237F
secondary
#5CC074
accent
#E76A41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F