#C74CA2#C74CA2
#C74CA2 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.183 H 341.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C74CA2 |
|---|---|
| RGB | rgb(199, 76, 162) |
| HSL | hsl(318, 52%, 54%) |
| HSV | hsv(318, 62%, 78%) |
| CMYK | cmyk(0%, 61.8%, 18.6%, 22%) |
| CIE-LAB | lab(51.75, 58.19, -21.87) |
| CIE-LCH | lch(51.75, 62.16, 339.40°) |
| OKLab | oklab(60.8% 0.1732 -0.0586) |
| OKLCH | oklch(60.8% 0.183 341.3) |
| XYZ | xyz(32.6600, 19.9225, 36.3008) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.35
Pinky Purple
#C94CBE
ΔE00 5.34
Purpley Pink
#C83CB9
ΔE00 5.49
Purpleish Pink
#DF4EC8
ΔE00 7.20
Pale Magenta
#D767AD
ΔE00 7.34
Mediumvioletred
#C71585
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C74CA2 #4CC771
analogous
#AF4CC7 #C74CA2 #C74C65
triadic
#C74CA2 #A2C74C #4CA2C7
tetradic
#C74CA2 #C7AF4C #4CC771 #4C65C7
square
#C74CA2 #C7AF4C #4CC771 #4C65C7
split-complementary
#C74CA2 #65C74C #4CC7AF
monochromatic
#74245C #A33381 #C74CA2 #D67BBA #E4A9D2
Accessibility & contrast
On white
4.21
#C74CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#C74CA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C74CA2
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C74CA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C74CA2 | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D24E70
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c74ca2; /* rgb */ color: rgb(199, 76, 162); /* oklch */ color: oklch(60.8% 0.183 341.3);
Tailwind
colors: {
custom: {
50: '#db85bd',
500: '#c74ca2',
950: '#000000',
},
}SCSS
$custom: #c74ca2; $custom-light: #db85bd; $custom-dark: #000000;
JSON
{
"hex": "#c74ca2",
"rgb": {
"r": 199,
"g": 76,
"b": 162
},
"hsl": {
"h": 318.049,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.60801,
"c": 0.1829,
"h": 341.3
},
"luminance": 0.1992
}Semantic roles & 50–950 ramp
primary
#C74CA2
secondary
#9DD2AD
accent
#DC774C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81