#C42F58#C42F58
#C42F58 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.185 H 10.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C42F58 |
|---|---|
| RGB | rgb(196, 47, 88) |
| HSL | hsl(343, 61%, 48%) |
| HSV | hsv(343, 76%, 77%) |
| CMYK | cmyk(0%, 76%, 55.1%, 23.1%) |
| CIE-LAB | lab(44.91, 60.13, 12.78) |
| CIE-LCH | lch(44.91, 61.48, 12.00°) |
| OKLab | oklab(54.89% 0.1824 0.0323) |
| OKLCH | oklch(54.89% 0.185 10) |
| XYZ | xyz(25.5454, 14.4770, 10.6798) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 4.07
Ruby
#CA0147
ΔE00 4.24
Dark Rose
#B5485D
ΔE00 4.29
Deep Rose
#C74767
ΔE00 4.63
Cerise
#DE0C62
ΔE00 4.75
Dark Pink
#CB416B
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42F58 #2FC49B
analogous
#C42FA2 #C42F58 #C4502F
triadic
#C42F58 #58C42F #2F58C4
tetradic
#C42F58 #A2C42F #2FC49B #502FC4
square
#C42F58 #A2C42F #2FC49B #502FC4
split-complementary
#C42F58 #2FC450 #2FA2C4
monochromatic
#61172C #932342 #C42F58 #D7597C #E38AA3
Accessibility & contrast
On white
5.39
#C42F58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#C42F58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42F58
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42F58 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565759
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#D60040
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c42f58; /* rgb */ color: rgb(196, 47, 88); /* oklch */ color: oklch(54.9% 0.185 10.0);
Tailwind
colors: {
custom: {
50: '#dd7586',
500: '#c42f58',
950: '#000000',
},
}SCSS
$custom: #c42f58; $custom-light: #dd7586; $custom-dark: #000000;
JSON
{
"hex": "#c42f58",
"rgb": {
"r": 196,
"g": 47,
"b": 88
},
"hsl": {
"h": 343.49,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.54885,
"c": 0.18527,
"h": 10
},
"luminance": 0.14473
}Semantic roles & 50–950 ramp
primary
#C42F58
secondary
#82CDB8
accent
#E4B843
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C