#C74CB2#C74CB2
#C74CB2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.194 H 335.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C74CB2 |
|---|---|
| RGB | rgb(199, 76, 178) |
| HSL | hsl(310, 52%, 54%) |
| HSV | hsv(310, 62%, 78%) |
| CMYK | cmyk(0%, 61.8%, 10.6%, 22%) |
| CIE-LAB | lab(52.43, 60.59, -30.19) |
| CIE-LCH | lch(52.43, 67.69, 333.51°) |
| OKLab | oklab(61.52% 0.1761 -0.0822) |
| OKLCH | oklch(61.52% 0.194 335) |
| XYZ | xyz(34.1738, 20.5281, 44.2733) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.15
Purpley Pink
#C83CB9
ΔE00 3.04
Purplish Pink
#CE5DAE
ΔE00 4.71
Purpleish Pink
#DF4EC8
ΔE00 5.23
Pinkish Purple
#D648D7
ΔE00 6.12
Mediumorchid
#BA55D3
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C74CB2 #4CC761
analogous
#9F4CC7 #C74CB2 #C74C75
triadic
#C74CB2 #B2C74C #4CB2C7
tetradic
#C74CB2 #C79F4C #4CC761 #4C75C7
square
#C74CB2 #C79F4C #4CC761 #4C75C7
split-complementary
#C74CB2 #75C74C #4CC79F
monochromatic
#742467 #A33390 #C74CB2 #D67BC6 #E4A9DA
Accessibility & contrast
On white
4.11
#C74CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#C74CB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C74CB2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C74CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C74CB2 | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D05478
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c74cb2; /* rgb */ color: rgb(199, 76, 178); /* oklch */ color: oklch(61.5% 0.194 335.0);
Tailwind
colors: {
custom: {
50: '#db86c9',
500: '#c74cb2',
950: '#000000',
},
}SCSS
$custom: #c74cb2; $custom-light: #db86c9; $custom-dark: #000000;
JSON
{
"hex": "#c74cb2",
"rgb": {
"r": 199,
"g": 76,
"b": 178
},
"hsl": {
"h": 310.244,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.61521,
"c": 0.1943,
"h": 335
},
"luminance": 0.20525
}Semantic roles & 50–950 ramp
primary
#C74CB2
secondary
#9DD2A6
accent
#DC654C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82