#9C237F#9C237F
#9C237F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.182 H 339.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9C237F |
|---|---|
| RGB | rgb(156, 35, 127) |
| HSL | hsl(314, 63%, 37%) |
| HSV | hsv(314, 78%, 61%) |
| CMYK | cmyk(0%, 77.6%, 18.6%, 38.8%) |
| CIE-LAB | lab(37.49, 57.33, -23.35) |
| CIE-LCH | lch(37.49, 61.91, 337.84°) |
| OKLab | oklab(48.53% 0.171 -0.0631) |
| OKLCH | oklch(48.53% 0.182 339.7) |
| XYZ | xyz(18.1426, 9.8041, 21.0115) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.06
Red Violet
#9E0168
ΔE00 5.22
Barney Purple
#A00498
ΔE00 5.42
Light Eggplant
#894585
ΔE00 6.78
Darkmagenta
#8B008B
ΔE00 6.91
Bruise
#7E4071
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C237F #239C40
analogous
#7C239C #9C237F #9C2343
triadic
#9C237F #7F9C23 #237F9C
tetradic
#9C237F #9C7C23 #239C40 #23439C
square
#9C237F #9C7C23 #239C40 #23439C
split-complementary
#9C237F #439C23 #239C7C
monochromatic
#380D2E #6A1856 #9C237F #CE2EA8 #DB5EBD
Accessibility & contrast
On white
7.09
#9C237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9C237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C237F
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C237F | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A5284F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c237f; /* rgb */ color: rgb(156, 35, 127); /* oklch */ color: oklch(48.5% 0.182 339.7);
Tailwind
colors: {
custom: {
50: '#bd6ca4',
500: '#9c237f',
950: '#000000',
},
}SCSS
$custom: #9c237f; $custom-light: #bd6ca4; $custom-dark: #000000;
JSON
{
"hex": "#9c237f",
"rgb": {
"r": 156,
"g": 35,
"b": 127
},
"hsl": {
"h": 314.38,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.48531,
"c": 0.18226,
"h": 339.7
},
"luminance": 0.09802
}Semantic roles & 50–950 ramp
primary
#9C237F
secondary
#5BC073
accent
#E66941
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F