#C74AA2#C74AA2
#C74AA2 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.6% C 0.186 H 341.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C74AA2 |
|---|---|
| RGB | rgb(199, 74, 162) |
| HSL | hsl(318, 53%, 54%) |
| HSV | hsv(318, 63%, 78%) |
| CMYK | cmyk(0%, 62.8%, 18.6%, 22%) |
| CIE-LAB | lab(51.44, 59.03, -22.35) |
| CIE-LCH | lch(51.44, 63.12, 339.27°) |
| OKLab | oklab(60.57% 0.1758 -0.06) |
| OKLCH | oklch(60.57% 0.186 341.2) |
| XYZ | xyz(32.5244, 19.6512, 36.2555) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.69
Purpley Pink
#C83CB9
ΔE00 5.24
Pinky Purple
#C94CBE
ΔE00 5.28
Purpleish Pink
#DF4EC8
ΔE00 7.29
Pale Magenta
#D767AD
ΔE00 7.71
Mediumvioletred
#C71585
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C74AA2 #4AC76F
analogous
#AD4AC7 #C74AA2 #C74A63
triadic
#C74AA2 #A2C74A #4AA2C7
tetradic
#C74AA2 #C7AD4A #4AC76F #4A63C7
square
#C74AA2 #C7AD4A #4AC76F #4A63C7
split-complementary
#C74AA2 #63C74A #4AC7AD
monochromatic
#73245C #A23281 #C74AA2 #D579BA #E4A7D2
Accessibility & contrast
On white
4.26
#C74AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#C74AA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C74AA2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C74AA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C74AA2 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D24C6F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c74aa2; /* rgb */ color: rgb(199, 74, 162); /* oklch */ color: oklch(60.6% 0.186 341.2);
Tailwind
colors: {
custom: {
50: '#db84bd',
500: '#c74aa2',
950: '#000000',
},
}SCSS
$custom: #c74aa2; $custom-light: #db84bd; $custom-dark: #000000;
JSON
{
"hex": "#c74aa2",
"rgb": {
"r": 199,
"g": 74,
"b": 162
},
"hsl": {
"h": 317.76,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.60574,
"c": 0.18573,
"h": 341.2
},
"luminance": 0.19648
}Semantic roles & 50–950 ramp
primary
#C74AA2
secondary
#9CD1AB
accent
#DC764C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81