#C030A2#C030A2
#C030A2 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.213 H 337.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C030A2 |
|---|---|
| RGB | rgb(192, 48, 162) |
| HSL | hsl(313, 60%, 47%) |
| HSV | hsv(313, 75%, 75%) |
| CMYK | cmyk(0%, 75%, 15.6%, 24.7%) |
| CIE-LAB | lab(46.88, 66.78, -29.50) |
| CIE-LCH | lch(46.88, 73.00, 336.17°) |
| OKLab | oklab(57.04% 0.1976 -0.0801) |
| OKLCH | oklch(57.04% 0.213 337.9) |
| XYZ | xyz(29.3174, 15.9318, 35.7065) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.63
Ugly Purple
#A442A0
ΔE00 5.14
Mediumvioletred
#C71585
ΔE00 6.16
Medium Purple
#9E43A2
ΔE00 6.45
Pinky Purple
#C94CBE
ΔE00 7.06
Barney
#AC1DB8
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C030A2 #30C04E
analogous
#9630C0 #C030A2 #C0305A
triadic
#C030A2 #A2C030 #30A2C0
tetradic
#C030A2 #C09630 #30C04E #305AC0
square
#C030A2 #C09630 #30C04E #305AC0
split-complementary
#C030A2 #5AC030 #30C096
monochromatic
#5E184F #8F2479 #C030A2 #D558BB #E189CF
Accessibility & contrast
On white
5.02
#C030A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#C030A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C030A2
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C030A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C030A2 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#CB3866
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c030a2; /* rgb */ color: rgb(192, 48, 162); /* oklch */ color: oklch(57.0% 0.213 337.9);
Tailwind
colors: {
custom: {
50: '#d777be',
500: '#c030a2',
950: '#000000',
},
}SCSS
$custom: #c030a2; $custom-light: #d777be; $custom-dark: #000000;
JSON
{
"hex": "#c030a2",
"rgb": {
"r": 192,
"g": 48,
"b": 162
},
"hsl": {
"h": 312.5,
"s": 60,
"l": 47.059
},
"oklch": {
"l": 0.57038,
"c": 0.21321,
"h": 337.9
},
"luminance": 0.15929
}Semantic roles & 50–950 ramp
primary
#C030A2
secondary
#80CB90
accent
#E36645
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81