#C42F54#C42F54
#C42F54 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.8% C 0.185 H 11.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C42F54 |
|---|---|
| RGB | rgb(196, 47, 84) |
| HSL | hsl(345, 61%, 48%) |
| HSV | hsv(345, 76%, 77%) |
| CMYK | cmyk(0%, 76%, 57.1%, 23.1%) |
| CIE-LAB | lab(44.82, 59.84, 15.14) |
| CIE-LCH | lch(44.82, 61.73, 14.19°) |
| OKLab | oklab(54.79% 0.1809 0.0378) |
| OKLCH | oklch(54.79% 0.185 11.8) |
| XYZ | xyz(25.3842, 14.4126, 9.8310) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 3.35
Ruby
#CA0147
ΔE00 3.50
Dark Rose
#B5485D
ΔE00 4.36
Deep Rose
#C74767
ΔE00 5.09
Cerise
#DE0C62
ΔE00 5.34
Raspberry
#E30B5C
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42F54 #2FC49F
analogous
#C42F9E #C42F54 #C4552F
triadic
#C42F54 #54C42F #2F54C4
tetradic
#C42F54 #9EC42F #2FC49F #552FC4
square
#C42F54 #9EC42F #2FC49F #552FC4
split-complementary
#C42F54 #2FC455 #2F9EC4
monochromatic
#61172A #93233F #C42F54 #D75978 #E38AA0
Accessibility & contrast
On white
5.41
#C42F54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#C42F54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42F54
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42F54 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575755
Deuteranopia (green-blind)
#7E7550
Tritanopia (blue-blind)
#D6003F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c42f54; /* rgb */ color: rgb(196, 47, 84); /* oklch */ color: oklch(54.8% 0.185 11.8);
Tailwind
colors: {
custom: {
50: '#dd7583',
500: '#c42f54',
950: '#000000',
},
}SCSS
$custom: #c42f54; $custom-light: #dd7583; $custom-dark: #000000;
JSON
{
"hex": "#c42f54",
"rgb": {
"r": 196,
"g": 47,
"b": 84
},
"hsl": {
"h": 345.101,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.54788,
"c": 0.1848,
"h": 11.8
},
"luminance": 0.14409
}Semantic roles & 50–950 ramp
primary
#C42F54
secondary
#82CDBA
accent
#E4BC43
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090A
muted
#847B7C