#C74AB2#C74AB2
#C74AB2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.197 H 334.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C74AB2 |
|---|---|
| RGB | rgb(199, 74, 178) |
| HSL | hsl(310, 53%, 54%) |
| HSV | hsv(310, 63%, 78%) |
| CMYK | cmyk(0%, 62.8%, 10.6%, 22%) |
| CIE-LAB | lab(52.13, 61.42, -30.66) |
| CIE-LCH | lch(52.13, 68.65, 333.47°) |
| OKLab | oklab(61.3% 0.1785 -0.0835) |
| OKLCH | oklch(61.3% 0.197 334.9) |
| XYZ | xyz(34.0381, 20.2567, 44.2281) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.16
Purpley Pink
#C83CB9
ΔE00 2.70
Purplish Pink
#CE5DAE
ΔE00 5.06
Purpleish Pink
#DF4EC8
ΔE00 5.41
Pinkish Purple
#D648D7
ΔE00 6.14
Mediumorchid
#BA55D3
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C74AB2 #4AC75F
analogous
#9D4AC7 #C74AB2 #C74A73
triadic
#C74AB2 #B2C74A #4AB2C7
tetradic
#C74AB2 #C79D4A #4AC75F #4A73C7
square
#C74AB2 #C79D4A #4AC75F #4A73C7
split-complementary
#C74AB2 #73C74A #4AC79D
monochromatic
#732466 #A2328F #C74AB2 #D579C6 #E4A7DA
Accessibility & contrast
On white
4.16
#C74AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#C74AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C74AB2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C74AB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C74AB2 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#D05277
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c74ab2; /* rgb */ color: rgb(199, 74, 178); /* oklch */ color: oklch(61.3% 0.197 334.9);
Tailwind
colors: {
custom: {
50: '#db85c9',
500: '#c74ab2',
950: '#000000',
},
}SCSS
$custom: #c74ab2; $custom-light: #db85c9; $custom-dark: #000000;
JSON
{
"hex": "#c74ab2",
"rgb": {
"r": 199,
"g": 74,
"b": 178
},
"hsl": {
"h": 310.08,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.613,
"c": 0.19708,
"h": 334.9
},
"luminance": 0.20254
}Semantic roles & 50–950 ramp
primary
#C74AB2
secondary
#9CD1A5
accent
#DC644C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82