#C22A9F#C22A9F
#C22A9F is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.8% C 0.218 H 339.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C22A9F |
|---|---|
| RGB | rgb(194, 42, 159) |
| HSL | hsl(314, 64%, 46%) |
| HSV | hsv(314, 78%, 76%) |
| CMYK | cmyk(0%, 78.4%, 18%, 23.9%) |
| CIE-LAB | lab(46.49, 68.56, -28.30) |
| CIE-LCH | lch(46.49, 74.17, 337.57°) |
| OKLab | oklab(56.77% 0.2044 -0.0766) |
| OKLCH | oklch(56.77% 0.218 339.4) |
| XYZ | xyz(29.3349, 15.6314, 34.2664) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.30
Mediumvioletred
#C71585
ΔE00 5.40
Ugly Purple
#A442A0
ΔE00 5.68
Medium Purple
#9E43A2
ΔE00 6.98
Pinky Purple
#C94CBE
ΔE00 7.74
Magenta (survey)
#C20078
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22A9F #2AC24D
analogous
#992AC2 #C22A9F #C22A53
triadic
#C22A9F #9FC22A #2A9FC2
tetradic
#C22A9F #C2992A #2AC24D #2A53C2
square
#C22A9F #C2992A #2AC24D #2A53C2
split-complementary
#C22A9F #53C22A #2AC299
monochromatic
#5D144D #901F76 #C22A9F #D950BA #E482CE
Accessibility & contrast
On white
5.09
#C22A9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#C22A9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22A9F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22A9F | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#68779C
Tritanopia (blue-blind)
#CD3163
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c22a9f; /* rgb */ color: rgb(194, 42, 159); /* oklch */ color: oklch(56.8% 0.218 339.4);
Tailwind
colors: {
custom: {
50: '#d975bb',
500: '#c22a9f',
950: '#000000',
},
}SCSS
$custom: #c22a9f; $custom-light: #d975bb; $custom-dark: #000000;
JSON
{
"hex": "#c22a9f",
"rgb": {
"r": 194,
"g": 42,
"b": 159
},
"hsl": {
"h": 313.816,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.56771,
"c": 0.21825,
"h": 339.4
},
"luminance": 0.15628
}Semantic roles & 50–950 ramp
primary
#C22A9F
secondary
#7BCD8E
accent
#E76740
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81