#9C237A#9C237A
#9C237A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.179 H 342.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9C237A |
|---|---|
| RGB | rgb(156, 35, 122) |
| HSL | hsl(317, 63%, 37%) |
| HSV | hsv(317, 78%, 61%) |
| CMYK | cmyk(0%, 77.6%, 21.8%, 38.8%) |
| CIE-LAB | lab(37.26, 56.64, -20.60) |
| CIE-LCH | lch(37.26, 60.27, 340.02°) |
| OKLab | oklab(48.29% 0.1702 -0.0553) |
| OKLCH | oklch(48.29% 0.179 342) |
| XYZ | xyz(17.8248, 9.6770, 19.3377) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.28
Warm Purple
#952E8F
ΔE00 5.10
Barney Purple
#A00498
ΔE00 6.46
Deep Magenta
#A0025C
ΔE00 7.10
Light Eggplant
#894585
ΔE00 7.13
Bruise
#7E4071
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C237A #239C45
analogous
#82239C #9C237A #9C233D
triadic
#9C237A #7A9C23 #237A9C
tetradic
#9C237A #9C8223 #239C45 #233D9C
square
#9C237A #9C8223 #239C45 #233D9C
split-complementary
#9C237A #3D9C23 #239C82
monochromatic
#380D2C #6A1853 #9C237A #CE2EA1 #DB5EB8
Accessibility & contrast
On white
7.16
#9C237A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9C237A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C237A
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C237A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C237A | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#A6254C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c237a; /* rgb */ color: rgb(156, 35, 122); /* oklch */ color: oklch(48.3% 0.179 342.0);
Tailwind
colors: {
custom: {
50: '#bd6ba0',
500: '#9c237a',
950: '#000000',
},
}SCSS
$custom: #9c237a; $custom-light: #bd6ba0; $custom-dark: #000000;
JSON
{
"hex": "#9c237a",
"rgb": {
"r": 156,
"g": 35,
"b": 122
},
"hsl": {
"h": 316.86,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.48287,
"c": 0.17901,
"h": 342
},
"luminance": 0.09675
}Semantic roles & 50–950 ramp
primary
#9C237A
secondary
#5BC077
accent
#E67041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E