#C22F52#C22F52
#C22F52 is a mid, vivid red. Relative luminance 0.141; OKLCH L 54.4% C 0.183 H 12.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C22F52 |
|---|---|
| RGB | rgb(194, 47, 82) |
| HSL | hsl(346, 61%, 47%) |
| HSV | hsv(346, 76%, 76%) |
| CMYK | cmyk(0%, 75.8%, 57.7%, 23.9%) |
| CIE-LAB | lab(44.40, 59.13, 15.74) |
| CIE-LCH | lch(44.40, 61.19, 14.91°) |
| OKLab | oklab(54.4% 0.1785 0.0392) |
| OKLCH | oklch(54.4% 0.183 12.4) |
| XYZ | xyz(24.7901, 14.1151, 9.4001) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.26
Lipstick
#D5174E
ΔE00 3.47
Dark Rose
#B5485D
ΔE00 4.40
Rose Red
#BE013C
ΔE00 5.31
Deep Rose
#C74767
ΔE00 5.52
Light Burgundy
#A8415B
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22F52 #2FC29F
analogous
#C22F9C #C22F52 #C2552F
triadic
#C22F52 #52C22F #2F52C2
tetradic
#C22F52 #9CC22F #2FC29F #552FC2
square
#C22F52 #9CC22F #2FC29F #552FC2
split-complementary
#C22F52 #2FC255 #2F9CC2
monochromatic
#5F1728 #91233D #C22F52 #D65876 #E2899E
Accessibility & contrast
On white
5.49
#C22F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#C22F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22F52
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22F52 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575652
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#D4003E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c22f52; /* rgb */ color: rgb(194, 47, 82); /* oklch */ color: oklch(54.4% 0.183 12.4);
Tailwind
colors: {
custom: {
50: '#db7482',
500: '#c22f52',
950: '#000000',
},
}SCSS
$custom: #c22f52; $custom-light: #db7482; $custom-dark: #000000;
JSON
{
"hex": "#c22f52",
"rgb": {
"r": 194,
"g": 47,
"b": 82
},
"hsl": {
"h": 345.714,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.54395,
"c": 0.18275,
"h": 12.4
},
"luminance": 0.14112
}Semantic roles & 50–950 ramp
primary
#C22F52
secondary
#81CCBA
accent
#E4BE44
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C