#C02BAC#C02BAC
#C02BAC is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.225 H 334.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C02BAC |
|---|---|
| RGB | rgb(192, 43, 172) |
| HSL | hsl(308, 63%, 46%) |
| HSV | hsv(308, 78%, 75%) |
| CMYK | cmyk(0%, 77.6%, 10.4%, 24.7%) |
| CIE-LAB | lab(46.86, 69.65, -35.46) |
| CIE-LCH | lch(46.86, 78.16, 333.02°) |
| OKLab | oklab(57.18% 0.2027 -0.0972) |
| OKLCH | oklch(57.18% 0.225 334.4) |
| XYZ | xyz(30.0488, 15.9155, 40.5112) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.91
Ugly Purple
#A442A0
ΔE00 5.01
Barney
#AC1DB8
ΔE00 5.95
Medium Purple
#9E43A2
ΔE00 6.03
Pinky Purple
#C94CBE
ΔE00 6.69
Mediumvioletred
#C71585
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02BAC #2BC03F
analogous
#892BC0 #C02BAC #C02B61
triadic
#C02BAC #ACC02B #2BACC0
tetradic
#C02BAC #C0892B #2BC03F #2B61C0
square
#C02BAC #C0892B #2BC03F #2B61C0
split-complementary
#C02BAC #61C02B #2BC089
monochromatic
#5C1552 #8E207F #C02BAC #D850C6 #E382D6
Accessibility & contrast
On white
5.02
#C02BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#C02BAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02BAC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02BAC | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2861AF
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#C93A6A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c02bac; /* rgb */ color: rgb(192, 43, 172); /* oklch */ color: oklch(57.2% 0.225 334.4);
Tailwind
colors: {
custom: {
50: '#d776c5',
500: '#c02bac',
950: '#000000',
},
}SCSS
$custom: #c02bac; $custom-light: #d776c5; $custom-dark: #000000;
JSON
{
"hex": "#c02bac",
"rgb": {
"r": 192,
"g": 43,
"b": 172
},
"hsl": {
"h": 308.054,
"s": 63.404,
"l": 46.078
},
"oklch": {
"l": 0.57181,
"c": 0.22481,
"h": 334.4
},
"luminance": 0.15913
}Semantic roles & 50–950 ramp
primary
#C02BAC
secondary
#7BCC86
accent
#E65841
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82