#9C227F#9C227F
#9C227F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.183 H 339.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9C227F |
|---|---|
| RGB | rgb(156, 34, 127) |
| HSL | hsl(314, 64%, 37%) |
| HSV | hsv(314, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 18.6%, 38.8%) |
| CIE-LAB | lab(37.38, 57.64, -23.52) |
| CIE-LCH | lch(37.38, 62.25, 337.80°) |
| OKLab | oklab(48.45% 0.1719 -0.0636) |
| OKLCH | oklch(48.45% 0.183 339.7) |
| XYZ | xyz(18.1136, 9.7461, 21.0018) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.06
Red Violet
#9E0168
ΔE00 5.19
Barney Purple
#A00498
ΔE00 5.35
Darkmagenta
#8B008B
ΔE00 6.81
Light Eggplant
#894585
ΔE00 6.86
Bruise
#7E4071
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C227F #229C3F
analogous
#7C229C #9C227F #9C2242
triadic
#9C227F #7F9C22 #227F9C
tetradic
#9C227F #9C7C22 #229C3F #22429C
square
#9C227F #9C7C22 #229C3F #22429C
split-complementary
#9C227F #429C22 #229C7C
monochromatic
#380C2D #6A1756 #9C227F #CE2DA8 #DC5DBD
Accessibility & contrast
On white
7.12
#9C227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C227F
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C227F | 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)
#2B4C81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A5274E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c227f; /* rgb */ color: rgb(156, 34, 127); /* oklch */ color: oklch(48.5% 0.183 339.7);
Tailwind
colors: {
custom: {
50: '#bd6ba4',
500: '#9c227f',
950: '#000000',
},
}SCSS
$custom: #9c227f; $custom-light: #bd6ba4; $custom-dark: #000000;
JSON
{
"hex": "#9c227f",
"rgb": {
"r": 156,
"g": 34,
"b": 127
},
"hsl": {
"h": 314.262,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.48454,
"c": 0.18327,
"h": 339.7
},
"luminance": 0.09744
}Semantic roles & 50–950 ramp
primary
#9C227F
secondary
#5AC072
accent
#E76841
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F