#9C237D#9C237D
#9C237D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.181 H 340.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9C237D |
|---|---|
| RGB | rgb(156, 35, 125) |
| HSL | hsl(315, 63%, 37%) |
| HSV | hsv(315, 78%, 61%) |
| CMYK | cmyk(0%, 77.6%, 19.9%, 38.8%) |
| CIE-LAB | lab(37.39, 57.06, -22.26) |
| CIE-LCH | lch(37.39, 61.24, 338.69°) |
| OKLab | oklab(48.43% 0.1707 -0.06) |
| OKLCH | oklch(48.43% 0.181 340.6) |
| XYZ | xyz(18.0136, 9.7525, 20.3318) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.47
Red Violet
#9E0168
ΔE00 4.84
Barney Purple
#A00498
ΔE00 5.83
Light Eggplant
#894585
ΔE00 6.90
Darkmagenta
#8B008B
ΔE00 7.22
Bruise
#7E4071
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C237D #239C42
analogous
#7F239C #9C237D #9C2340
triadic
#9C237D #7D9C23 #237D9C
tetradic
#9C237D #9C7F23 #239C42 #23409C
square
#9C237D #9C7F23 #239C42 #23409C
split-complementary
#9C237D #409C23 #239C7F
monochromatic
#380D2D #6A1855 #9C237D #CE2EA5 #DB5EBB
Accessibility & contrast
On white
7.12
#9C237D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C237D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C237D
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C237D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C237D | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#A6274E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c237d; /* rgb */ color: rgb(156, 35, 125); /* oklch */ color: oklch(48.4% 0.181 340.6);
Tailwind
colors: {
custom: {
50: '#bd6ca3',
500: '#9c237d',
950: '#000000',
},
}SCSS
$custom: #9c237d; $custom-light: #bd6ca3; $custom-dark: #000000;
JSON
{
"hex": "#9c237d",
"rgb": {
"r": 156,
"g": 35,
"b": 125
},
"hsl": {
"h": 315.372,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.48432,
"c": 0.18095,
"h": 340.6
},
"luminance": 0.09751
}Semantic roles & 50–950 ramp
primary
#9C237D
secondary
#5BC075
accent
#E66C41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F