#9C226A#9C226A
#9C226A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 349.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C226A |
|---|---|
| RGB | rgb(156, 34, 106) |
| HSL | hsl(325, 64%, 37%) |
| HSV | hsv(325, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 32.1%, 38.8%) |
| CIE-LAB | lab(36.47, 54.91, -11.74) |
| CIE-LCH | lch(36.47, 56.15, 347.93°) |
| OKLab | oklab(47.5% 0.1679 -0.0307) |
| OKLCH | oklch(47.5% 0.171 349.6) |
| XYZ | xyz(16.8848, 9.2546, 14.5300) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.42
Deep Magenta
#A0025C
ΔE00 3.71
Dark Fuchsia
#9D0759
ΔE00 4.12
Dark Magenta
#960056
ΔE00 4.66
Reddish Purple
#910951
ΔE00 5.60
Violet Red
#A50055
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C226A #229C54
analogous
#91229C #9C226A #9C222D
triadic
#9C226A #6A9C22 #226A9C
tetradic
#9C226A #9C9122 #229C54 #222D9C
square
#9C226A #9C9122 #229C54 #222D9C
split-complementary
#9C226A #2D9C22 #229C91
monochromatic
#380C26 #6A1748 #9C226A #CE2D8C #DC5DA8
Accessibility & contrast
On white
7.37
#9C226A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9C226A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C226A
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C226A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C226A | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37486C
Deuteranopia (green-blind)
#5A5E67
Tritanopia (blue-blind)
#A81A43
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c226a; /* rgb */ color: rgb(156, 34, 106); /* oklch */ color: oklch(47.5% 0.171 349.6);
Tailwind
colors: {
custom: {
50: '#be6a94',
500: '#9c226a',
950: '#000000',
},
}SCSS
$custom: #9c226a; $custom-light: #be6a94; $custom-dark: #000000;
JSON
{
"hex": "#9c226a",
"rgb": {
"r": 156,
"g": 34,
"b": 106
},
"hsl": {
"h": 324.59,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.47495,
"c": 0.17073,
"h": 349.6
},
"luminance": 0.09253
}Semantic roles & 50–950 ramp
primary
#9C226A
secondary
#5AC084
accent
#E78541
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E