#C22A9B#C22A9B
#C22A9B is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.6% C 0.216 H 340.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C22A9B |
|---|---|
| RGB | rgb(194, 42, 155) |
| HSL | hsl(315, 64%, 46%) |
| HSV | hsv(315, 78%, 76%) |
| CMYK | cmyk(0%, 78.4%, 20.1%, 23.9%) |
| CIE-LAB | lab(46.30, 68.03, -26.20) |
| CIE-LCH | lch(46.30, 72.90, 338.94°) |
| OKLab | oklab(56.58% 0.2039 -0.0706) |
| OKLCH | oklch(56.58% 0.216 340.9) |
| XYZ | xyz(28.9934, 15.4948, 32.4679) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.67
Purpley Pink
#C83CB9
ΔE00 5.91
Ugly Purple
#A442A0
ΔE00 6.00
Magenta (survey)
#C20078
ΔE00 7.10
Medium Purple
#9E43A2
ΔE00 7.35
Pinky Purple
#C94CBE
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22A9B #2AC251
analogous
#9D2AC2 #C22A9B #C22A4F
triadic
#C22A9B #9BC22A #2A9BC2
tetradic
#C22A9B #C29D2A #2AC251 #2A4FC2
square
#C22A9B #C29D2A #2AC251 #2A4FC2
split-complementary
#C22A9B #4FC22A #2AC29D
monochromatic
#5D144B #901F73 #C22A9B #D950B6 #E482CB
Accessibility & contrast
On white
5.12
#C22A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#C22A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22A9B
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22A9B | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#6A7698
Tritanopia (blue-blind)
#CE2E60
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c22a9b; /* rgb */ color: rgb(194, 42, 155); /* oklch */ color: oklch(56.6% 0.216 340.9);
Tailwind
colors: {
custom: {
50: '#d975b8',
500: '#c22a9b',
950: '#000000',
},
}SCSS
$custom: #c22a9b; $custom-light: #d975b8; $custom-dark: #000000;
JSON
{
"hex": "#c22a9b",
"rgb": {
"r": 194,
"g": 42,
"b": 155
},
"hsl": {
"h": 315.395,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.5658,
"c": 0.21575,
"h": 340.9
},
"luminance": 0.15492
}Semantic roles & 50–950 ramp
primary
#C22A9B
secondary
#7BCD90
accent
#E76B40
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80