#9C226F#9C226F
#9C226F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.173 H 347.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9C226F |
|---|---|
| RGB | rgb(156, 34, 111) |
| HSL | hsl(322, 64%, 37%) |
| HSV | hsv(322, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 28.8%, 38.8%) |
| CIE-LAB | lab(36.67, 55.52, -14.59) |
| CIE-LCH | lch(36.67, 57.41, 345.27°) |
| OKLab | oklab(47.71% 0.1691 -0.0385) |
| OKLCH | oklch(47.71% 0.173 347.2) |
| XYZ | xyz(17.1524, 9.3616, 15.9395) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.56
Deep Magenta
#A0025C
ΔE00 4.75
Dark Fuchsia
#9D0759
ΔE00 5.21
Dark Magenta
#960056
ΔE00 5.60
Reddish Purple
#910951
ΔE00 6.59
Magenta (survey)
#C20078
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C226F #229C4F
analogous
#8C229C #9C226F #9C2232
triadic
#9C226F #6F9C22 #226F9C
tetradic
#9C226F #9C8C22 #229C4F #22329C
square
#9C226F #9C8C22 #229C4F #22329C
split-complementary
#9C226F #329C22 #229C8C
monochromatic
#380C27 #6A174B #9C226F #CE2D93 #DC5DAD
Accessibility & contrast
On white
7.31
#9C226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9C226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C226F
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C226F | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A71D46
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c226f; /* rgb */ color: rgb(156, 34, 111); /* oklch */ color: oklch(47.7% 0.173 347.2);
Tailwind
colors: {
custom: {
50: '#bd6b98',
500: '#9c226f',
950: '#000000',
},
}SCSS
$custom: #9c226f; $custom-light: #bd6b98; $custom-dark: #000000;
JSON
{
"hex": "#9c226f",
"rgb": {
"r": 156,
"g": 34,
"b": 111
},
"hsl": {
"h": 322.131,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.47707,
"c": 0.17345,
"h": 347.2
},
"luminance": 0.0936
}Semantic roles & 50–950 ramp
primary
#9C226F
secondary
#5AC07F
accent
#E77E41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E