#9C227D#9C227D
#9C227D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.182 H 340.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9C227D |
|---|---|
| RGB | rgb(156, 34, 125) |
| HSL | hsl(315, 64%, 37%) |
| HSV | hsv(315, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 19.9%, 38.8%) |
| CIE-LAB | lab(37.29, 57.36, -22.42) |
| CIE-LCH | lch(37.29, 61.58, 338.65°) |
| OKLab | oklab(48.36% 0.1716 -0.0605) |
| OKLCH | oklch(48.36% 0.182 340.6) |
| XYZ | xyz(17.9846, 9.6945, 20.3221) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.46
Red Violet
#9E0168
ΔE00 4.81
Barney Purple
#A00498
ΔE00 5.76
Light Eggplant
#894585
ΔE00 6.98
Darkmagenta
#8B008B
ΔE00 7.12
Bruise
#7E4071
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C227D #229C41
analogous
#7E229C #9C227D #9C2240
triadic
#9C227D #7D9C22 #227D9C
tetradic
#9C227D #9C7E22 #229C41 #22409C
square
#9C227D #9C7E22 #229C41 #22409C
split-complementary
#9C227D #409C22 #229C7E
monochromatic
#380C2C #6A1755 #9C227D #CE2DA5 #DC5DBB
Accessibility & contrast
On white
7.15
#9C227D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9C227D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C227D
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C227D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C227D | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#A6264D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c227d; /* rgb */ color: rgb(156, 34, 125); /* oklch */ color: oklch(48.4% 0.182 340.6);
Tailwind
colors: {
custom: {
50: '#bd6ba3',
500: '#9c227d',
950: '#000000',
},
}SCSS
$custom: #9c227d; $custom-light: #bd6ba3; $custom-dark: #000000;
JSON
{
"hex": "#9c227d",
"rgb": {
"r": 156,
"g": 34,
"b": 125
},
"hsl": {
"h": 315.246,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.48356,
"c": 0.18197,
"h": 340.6
},
"luminance": 0.09693
}Semantic roles & 50–950 ramp
primary
#9C227D
secondary
#5AC074
accent
#E76B41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F