#C42F52#C42F52
#C42F52 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.7% C 0.185 H 12.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C42F52 |
|---|---|
| RGB | rgb(196, 47, 82) |
| HSL | hsl(346, 61%, 48%) |
| HSV | hsv(346, 76%, 77%) |
| CMYK | cmyk(0%, 76%, 58.2%, 23.1%) |
| CIE-LAB | lab(44.78, 59.70, 16.32) |
| CIE-LCH | lch(44.78, 61.89, 15.28°) |
| OKLab | oklab(54.74% 0.1801 0.0405) |
| OKLCH | oklch(54.74% 0.185 12.7) |
| XYZ | xyz(25.3070, 14.3817, 9.4244) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 3.09
Ruby
#CA0147
ΔE00 3.23
Dark Rose
#B5485D
ΔE00 4.51
Rose Red
#BE013C
ΔE00 5.40
Deep Rose
#C74767
ΔE00 5.41
Raspberry
#E30B5C
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42F52 #2FC4A1
analogous
#C42F9C #C42F52 #C4562F
triadic
#C42F52 #52C42F #2F52C4
tetradic
#C42F52 #9CC42F #2FC4A1 #562FC4
square
#C42F52 #9CC42F #2FC4A1 #562FC4
split-complementary
#C42F52 #2FC456 #2F9CC4
monochromatic
#611729 #93233D #C42F52 #D75977 #E38A9F
Accessibility & contrast
On white
5.42
#C42F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#C42F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42F52
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42F52 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585652
Deuteranopia (green-blind)
#7E754E
Tritanopia (blue-blind)
#D6003E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c42f52; /* rgb */ color: rgb(196, 47, 82); /* oklch */ color: oklch(54.7% 0.185 12.7);
Tailwind
colors: {
custom: {
50: '#dd7582',
500: '#c42f52',
950: '#000000',
},
}SCSS
$custom: #c42f52; $custom-light: #dd7582; $custom-dark: #000000;
JSON
{
"hex": "#c42f52",
"rgb": {
"r": 196,
"g": 47,
"b": 82
},
"hsl": {
"h": 345.906,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.54742,
"c": 0.18461,
"h": 12.7
},
"luminance": 0.14378
}Semantic roles & 50–950 ramp
primary
#C42F52
secondary
#82CDBB
accent
#E4BF43
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C