#C42F57#C42F57
#C42F57 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.185 H 10.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C42F57 |
|---|---|
| RGB | rgb(196, 47, 87) |
| HSL | hsl(344, 61%, 48%) |
| HSV | hsv(344, 76%, 77%) |
| CMYK | cmyk(0%, 76%, 55.6%, 23.1%) |
| CIE-LAB | lab(44.89, 60.06, 13.37) |
| CIE-LCH | lch(44.89, 61.53, 12.55°) |
| OKLab | oklab(54.86% 0.1821 0.0337) |
| OKLCH | oklch(54.86% 0.185 10.5) |
| XYZ | xyz(25.5042, 14.4606, 10.4632) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 3.87
Ruby
#CA0147
ΔE00 4.04
Dark Rose
#B5485D
ΔE00 4.28
Deep Rose
#C74767
ΔE00 4.72
Cerise
#DE0C62
ΔE00 4.87
Dark Pink
#CB416B
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42F57 #2FC49C
analogous
#C42FA1 #C42F57 #C4522F
triadic
#C42F57 #57C42F #2F57C4
tetradic
#C42F57 #A1C42F #2FC49C #522FC4
square
#C42F57 #A1C42F #2FC49C #522FC4
split-complementary
#C42F57 #2FC452 #2FA1C4
monochromatic
#61172B #932341 #C42F57 #D7597B #E38AA2
Accessibility & contrast
On white
5.40
#C42F57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#C42F57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42F57
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42F57 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575758
Deuteranopia (green-blind)
#7D7553
Tritanopia (blue-blind)
#D60040
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c42f57; /* rgb */ color: rgb(196, 47, 87); /* oklch */ color: oklch(54.9% 0.185 10.5);
Tailwind
colors: {
custom: {
50: '#dd7586',
500: '#c42f57',
950: '#000000',
},
}SCSS
$custom: #c42f57; $custom-light: #dd7586; $custom-dark: #000000;
JSON
{
"hex": "#c42f57",
"rgb": {
"r": 196,
"g": 47,
"b": 87
},
"hsl": {
"h": 343.893,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.5486,
"c": 0.18514,
"h": 10.5
},
"luminance": 0.14457
}Semantic roles & 50–950 ramp
primary
#C42F57
secondary
#82CDB9
accent
#E4B943
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C