#C045A2#C045A2
#C045A2 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.188 H 338.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C045A2 |
|---|---|
| RGB | rgb(192, 69, 162) |
| HSL | hsl(315, 49%, 51%) |
| HSV | hsv(315, 64%, 75%) |
| CMYK | cmyk(0%, 64.1%, 15.6%, 24.7%) |
| CIE-LAB | lab(49.59, 59.20, -25.30) |
| CIE-LCH | lch(49.59, 64.38, 336.86°) |
| OKLab | oklab(59% 0.1749 -0.0683) |
| OKLCH | oklch(59% 0.188 338.7) |
| XYZ | xyz(30.3885, 18.0740, 36.0636) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.29
Pinky Purple
#C94CBE
ΔE00 5.29
Ugly Purple
#A442A0
ΔE00 6.27
Purplish Pink
#CE5DAE
ΔE00 6.56
Mediumvioletred
#C71585
ΔE00 7.39
Medium Purple
#9E43A2
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C045A2 #45C063
analogous
#A045C0 #C045A2 #C04564
triadic
#C045A2 #A2C045 #45A2C0
tetradic
#C045A2 #C0A045 #45C063 #4564C0
square
#C045A2 #C0A045 #45C063 #4564C0
split-complementary
#C045A2 #64C045 #45C0A0
monochromatic
#682357 #95337D #C045A2 #CF73B9 #DFA0D0
Accessibility & contrast
On white
4.55
#C045A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#C045A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C045A2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C045A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C045A2 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#707D9F
Tritanopia (blue-blind)
#CA496D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c045a2; /* rgb */ color: rgb(192, 69, 162); /* oklch */ color: oklch(59.0% 0.188 338.7);
Tailwind
colors: {
custom: {
50: '#d681bd',
500: '#c045a2',
950: '#000000',
},
}SCSS
$custom: #c045a2; $custom-light: #d681bd; $custom-dark: #000000;
JSON
{
"hex": "#c045a2",
"rgb": {
"r": 192,
"g": 69,
"b": 162
},
"hsl": {
"h": 314.634,
"s": 49.398,
"l": 51.176
},
"oklch": {
"l": 0.59,
"c": 0.18776,
"h": 338.7
},
"luminance": 0.18071
}Semantic roles & 50–950 ramp
primary
#C045A2
secondary
#95CCA2
accent
#D9714F
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81