#9C226D#9C226D
#9C226D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.172 H 348.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9C226D |
|---|---|
| RGB | rgb(156, 34, 109) |
| HSL | hsl(323, 64%, 37%) |
| HSV | hsv(323, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 30.1%, 38.8%) |
| CIE-LAB | lab(36.59, 55.27, -13.46) |
| CIE-LCH | lch(36.59, 56.89, 346.32°) |
| OKLab | oklab(47.62% 0.1687 -0.0354) |
| OKLCH | oklch(47.62% 0.172 348.1) |
| XYZ | xyz(17.0435, 9.3181, 15.3661) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.43
Deep Magenta
#A0025C
ΔE00 4.32
Dark Fuchsia
#9D0759
ΔE00 4.77
Dark Magenta
#960056
ΔE00 5.21
Reddish Purple
#910951
ΔE00 6.19
Violet Red
#A50055
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C226D #229C51
analogous
#8E229C #9C226D #9C2230
triadic
#9C226D #6D9C22 #226D9C
tetradic
#9C226D #9C8E22 #229C51 #22309C
square
#9C226D #9C8E22 #229C51 #22309C
split-complementary
#9C226D #309C22 #229C8E
monochromatic
#380C27 #6A174A #9C226D #CE2D90 #DC5DAB
Accessibility & contrast
On white
7.33
#9C226D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9C226D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C226D
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C226D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C226D | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35496F
Deuteranopia (green-blind)
#595E6A
Tritanopia (blue-blind)
#A71C45
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c226d; /* rgb */ color: rgb(156, 34, 109); /* oklch */ color: oklch(47.6% 0.172 348.1);
Tailwind
colors: {
custom: {
50: '#bd6b97',
500: '#9c226d',
950: '#000000',
},
}SCSS
$custom: #9c226d; $custom-light: #bd6b97; $custom-dark: #000000;
JSON
{
"hex": "#9c226d",
"rgb": {
"r": 156,
"g": 34,
"b": 109
},
"hsl": {
"h": 323.115,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.47621,
"c": 0.17235,
"h": 348.1
},
"luminance": 0.09316
}Semantic roles & 50–950 ramp
primary
#9C226D
secondary
#5AC081
accent
#E78141
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E