#C42972#C42972
#C42972 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.197 H 357.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C42972 |
|---|---|
| RGB | rgb(196, 41, 114) |
| HSL | hsl(332, 65%, 46%) |
| HSV | hsv(332, 79%, 77%) |
| CMYK | cmyk(0%, 79.1%, 41.8%, 23.1%) |
| CIE-LAB | lab(45.00, 64.12, -3.20) |
| CIE-LCH | lch(45.00, 64.20, 357.14°) |
| OKLab | oklab(55.18% 0.1972 -0.0076) |
| OKLCH | oklch(55.18% 0.197 357.8) |
| XYZ | xyz(26.5972, 14.5400, 17.3223) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.07
Magenta (survey)
#C20078
ΔE00 4.07
Mediumvioletred
#C71585
ΔE00 4.93
Dark Hot Pink
#D90166
ΔE00 5.20
Dark Pink
#CB416B
ΔE00 6.35
Cerise
#DE0C62
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42972 #29C47B
analogous
#C429C0 #C42972 #C42E29
triadic
#C42972 #72C429 #2972C4
tetradic
#C42972 #C0C429 #29C47B #2E29C4
square
#C42972 #C0C429 #29C47B #2E29C4
split-complementary
#C42972 #29C42E #29C0C4
monochromatic
#5F1437 #911E55 #C42972 #DA5091 #E582B1
Accessibility & contrast
On white
5.37
#C42972 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#C42972 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42972
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42972 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5874
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#D4074A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c42972; /* rgb */ color: rgb(196, 41, 114); /* oklch */ color: oklch(55.2% 0.197 357.8);
Tailwind
colors: {
custom: {
50: '#dc739a',
500: '#c42972',
950: '#000000',
},
}SCSS
$custom: #c42972; $custom-light: #dc739a; $custom-dark: #000000;
JSON
{
"hex": "#c42972",
"rgb": {
"r": 196,
"g": 41,
"b": 114
},
"hsl": {
"h": 331.742,
"s": 65.401,
"l": 46.471
},
"oklch": {
"l": 0.55183,
"c": 0.19739,
"h": 357.8
},
"luminance": 0.14537
}Semantic roles & 50–950 ramp
primary
#C42972
secondary
#7BCEA7
accent
#E8993F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E