#C42B52#C42B52
#C42B52 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.188 H 12.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C42B52 |
|---|---|
| RGB | rgb(196, 43, 82) |
| HSL | hsl(345, 64%, 47%) |
| HSV | hsv(345, 78%, 77%) |
| CMYK | cmyk(0%, 78.1%, 58.2%, 23.1%) |
| CIE-LAB | lab(44.34, 60.92, 15.73) |
| CIE-LCH | lch(44.34, 62.92, 14.48°) |
| OKLab | oklab(54.42% 0.1841 0.0391) |
| OKLCH | oklch(54.42% 0.188 12) |
| XYZ | xyz(25.1543, 14.0764, 9.3735) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 2.97
Lipstick
#D5174E
ΔE00 3.23
Dark Rose
#B5485D
ΔE00 4.81
Rose Red
#BE013C
ΔE00 5.25
Cerise
#DE0C62
ΔE00 5.52
Raspberry
#E30B5C
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42B52 #2BC49D
analogous
#C42B9F #C42B52 #C4512B
triadic
#C42B52 #52C42B #2B52C4
tetradic
#C42B52 #9FC42B #2BC49D #512BC4
square
#C42B52 #9FC42B #2BC49D #512BC4
split-complementary
#C42B52 #2BC451 #2B9FC4
monochromatic
#601528 #92203D #C42B52 #D95375 #E4859D
Accessibility & contrast
On white
5.51
#C42B52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#C42B52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42B52
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42B52 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565553
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#D7003C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c42b52; /* rgb */ color: rgb(196, 43, 82); /* oklch */ color: oklch(54.4% 0.188 12.0);
Tailwind
colors: {
custom: {
50: '#dd7382',
500: '#c42b52',
950: '#000000',
},
}SCSS
$custom: #c42b52; $custom-light: #dd7382; $custom-dark: #000000;
JSON
{
"hex": "#c42b52",
"rgb": {
"r": 196,
"g": 43,
"b": 82
},
"hsl": {
"h": 344.706,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.54422,
"c": 0.18816,
"h": 12
},
"luminance": 0.14073
}Semantic roles & 50–950 ramp
primary
#C42B52
secondary
#7DCEB9
accent
#E7BD41
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C