#C22F57#C22F57
#C22F57 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.183 H 10.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C22F57 |
|---|---|
| RGB | rgb(194, 47, 87) |
| HSL | hsl(344, 61%, 47%) |
| HSV | hsv(344, 76%, 76%) |
| CMYK | cmyk(0%, 75.8%, 55.2%, 23.9%) |
| CIE-LAB | lab(44.51, 59.49, 12.79) |
| CIE-LCH | lch(44.51, 60.85, 12.13°) |
| OKLab | oklab(54.51% 0.1804 0.0323) |
| OKLCH | oklch(54.51% 0.183 10.2) |
| XYZ | xyz(24.9873, 14.1940, 10.4389) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 4.14
Dark Rose
#B5485D
ΔE00 4.23
Lipstick
#D5174E
ΔE00 4.25
Deep Rose
#C74767
ΔE00 4.91
Deep Pink
#CB0162
ΔE00 5.08
Cerise
#DE0C62
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22F57 #2FC29A
analogous
#C22FA1 #C22F57 #C2502F
triadic
#C22F57 #57C22F #2F57C2
tetradic
#C22F57 #A1C22F #2FC29A #502FC2
square
#C22F57 #A1C22F #2FC29A #502FC2
split-complementary
#C22F57 #2FC250 #2FA1C2
monochromatic
#5F172B #912341 #C22F57 #D6587A #E289A1
Accessibility & contrast
On white
5.47
#C22F57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#C22F57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22F57
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22F57 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565658
Deuteranopia (green-blind)
#7C7453
Tritanopia (blue-blind)
#D40040
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c22f57; /* rgb */ color: rgb(194, 47, 87); /* oklch */ color: oklch(54.5% 0.183 10.2);
Tailwind
colors: {
custom: {
50: '#db7586',
500: '#c22f57',
950: '#000000',
},
}SCSS
$custom: #c22f57; $custom-light: #db7586; $custom-dark: #000000;
JSON
{
"hex": "#c22f57",
"rgb": {
"r": 194,
"g": 47,
"b": 87
},
"hsl": {
"h": 343.673,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.54514,
"c": 0.1833,
"h": 10.2
},
"luminance": 0.1419
}Semantic roles & 50–950 ramp
primary
#C22F57
secondary
#81CCB8
accent
#E4B844
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C