#9C237C#9C237C
#9C237C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.180 H 341.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9C237C |
|---|---|
| RGB | rgb(156, 35, 124) |
| HSL | hsl(316, 63%, 37%) |
| HSV | hsv(316, 78%, 61%) |
| CMYK | cmyk(0%, 77.6%, 20.5%, 38.8%) |
| CIE-LAB | lab(37.35, 56.92, -21.70) |
| CIE-LCH | lch(37.35, 60.91, 339.13°) |
| OKLab | oklab(48.38% 0.1706 -0.0585) |
| OKLCH | oklch(48.38% 0.18 341.1) |
| XYZ | xyz(17.9500, 9.7271, 19.9971) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.65
Warm Purple
#952E8F
ΔE00 4.67
Barney Purple
#A00498
ΔE00 6.04
Light Eggplant
#894585
ΔE00 6.97
Darkmagenta
#8B008B
ΔE00 7.38
Deep Magenta
#A0025C
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C237C #239C43
analogous
#80239C #9C237C #9C233F
triadic
#9C237C #7C9C23 #237C9C
tetradic
#9C237C #9C8023 #239C43 #233F9C
square
#9C237C #9C8023 #239C43 #233F9C
split-complementary
#9C237C #3F9C23 #239C80
monochromatic
#380D2D #6A1854 #9C237C #CE2EA4 #DB5EBA
Accessibility & contrast
On white
7.13
#9C237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C237C
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C237C | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A6264D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c237c; /* rgb */ color: rgb(156, 35, 124); /* oklch */ color: oklch(48.4% 0.180 341.1);
Tailwind
colors: {
custom: {
50: '#bd6ca2',
500: '#9c237c',
950: '#000000',
},
}SCSS
$custom: #9c237c; $custom-light: #bd6ca2; $custom-dark: #000000;
JSON
{
"hex": "#9c237c",
"rgb": {
"r": 156,
"g": 35,
"b": 124
},
"hsl": {
"h": 315.868,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.48383,
"c": 0.18029,
"h": 341.1
},
"luminance": 0.09725
}Semantic roles & 50–950 ramp
primary
#9C237C
secondary
#5BC076
accent
#E66D41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F