#C42A70#C42A70
#C42A70 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.196 H 358.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C42A70 |
|---|---|
| RGB | rgb(196, 42, 112) |
| HSL | hsl(333, 65%, 47%) |
| HSV | hsv(333, 79%, 77%) |
| CMYK | cmyk(0%, 78.6%, 42.9%, 23.1%) |
| CIE-LAB | lab(45.03, 63.65, -1.92) |
| CIE-LCH | lch(45.03, 63.68, 358.28°) |
| OKLab | oklab(55.19% 0.1957 -0.0043) |
| OKLCH | oklch(55.19% 0.196 358.8) |
| XYZ | xyz(26.5196, 14.5651, 16.7409) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.67
Magenta (survey)
#C20078
ΔE00 4.54
Dark Hot Pink
#D90166
ΔE00 4.81
Mediumvioletred
#C71585
ΔE00 5.48
Dark Pink
#CB416B
ΔE00 5.90
Cerise
#DE0C62
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42A70 #2AC47E
analogous
#C42ABD #C42A70 #C4312A
triadic
#C42A70 #70C42A #2A70C4
tetradic
#C42A70 #BDC42A #2AC47E #312AC4
square
#C42A70 #BDC42A #2AC47E #312AC4
split-complementary
#C42A70 #2AC431 #2ABDC4
monochromatic
#5F1436 #921F53 #C42A70 #DA518F #E584B0
Accessibility & contrast
On white
5.37
#C42A70 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#C42A70 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42A70
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42A70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42A70 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5872
Deuteranopia (green-blind)
#77756D
Tritanopia (blue-blind)
#D5074A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c42a70; /* rgb */ color: rgb(196, 42, 112); /* oklch */ color: oklch(55.2% 0.196 358.8);
Tailwind
colors: {
custom: {
50: '#dc7498',
500: '#c42a70',
950: '#000000',
},
}SCSS
$custom: #c42a70; $custom-light: #dc7498; $custom-dark: #000000;
JSON
{
"hex": "#c42a70",
"rgb": {
"r": 196,
"g": 42,
"b": 112
},
"hsl": {
"h": 332.727,
"s": 64.706,
"l": 46.667
},
"oklch": {
"l": 0.55188,
"c": 0.19578,
"h": 358.8
},
"luminance": 0.14562
}Semantic roles & 50–950 ramp
primary
#C42A70
secondary
#7CCEA9
accent
#E89C40
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E