#C42F71#C42F71
#C42F71 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.191 H 358.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C42F71 |
|---|---|
| RGB | rgb(196, 47, 113) |
| HSL | hsl(333, 61%, 48%) |
| HSV | hsv(333, 76%, 77%) |
| CMYK | cmyk(0%, 76%, 42.3%, 23.1%) |
| CIE-LAB | lab(45.59, 62.27, -1.72) |
| CIE-LCH | lch(45.59, 62.29, 358.42°) |
| OKLab | oklab(55.6% 0.1913 -0.0038) |
| OKLCH | oklch(55.6% 0.191 358.9) |
| XYZ | xyz(26.7641, 14.9645, 17.0986) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.01
Dark Hot Pink
#D90166
ΔE00 4.82
Magenta (survey)
#C20078
ΔE00 5.03
Dark Pink
#CB416B
ΔE00 5.41
Mediumvioletred
#C71585
ΔE00 5.73
Cerise
#DE0C62
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42F71 #2FC482
analogous
#C42FBB #C42F71 #C4382F
triadic
#C42F71 #71C42F #2F71C4
tetradic
#C42F71 #BBC42F #2FC482 #382FC4
square
#C42F71 #BBC42F #2FC482 #382FC4
split-complementary
#C42F71 #2FC438 #2FBBC4
monochromatic
#611738 #932355 #C42F71 #D75991 #E38AB2
Accessibility & contrast
On white
5.26
#C42F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#C42F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42F71
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42F71 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#79766E
Tritanopia (blue-blind)
#D4154C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c42f71; /* rgb */ color: rgb(196, 47, 113); /* oklch */ color: oklch(55.6% 0.191 358.9);
Tailwind
colors: {
custom: {
50: '#db7699',
500: '#c42f71',
950: '#000000',
},
}SCSS
$custom: #c42f71; $custom-light: #db7699; $custom-dark: #000000;
JSON
{
"hex": "#c42f71",
"rgb": {
"r": 196,
"g": 47,
"b": 113
},
"hsl": {
"h": 333.423,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.55603,
"c": 0.19135,
"h": 358.9
},
"luminance": 0.14961
}Semantic roles & 50–950 ramp
primary
#C42F71
secondary
#82CDAC
accent
#E49D43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E