#C045A6#C045A6
#C045A6 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.191 H 337.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C045A6 |
|---|---|
| RGB | rgb(192, 69, 166) |
| HSL | hsl(313, 49%, 51%) |
| HSV | hsv(313, 64%, 75%) |
| CMYK | cmyk(0%, 64.1%, 13.5%, 24.7%) |
| CIE-LAB | lab(49.76, 59.80, -27.39) |
| CIE-LCH | lch(49.76, 65.77, 335.39°) |
| OKLab | oklab(59.19% 0.1755 -0.0743) |
| OKLCH | oklch(59.19% 0.191 337.1) |
| XYZ | xyz(30.7497, 18.2185, 37.9660) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.54
Pinky Purple
#C94CBE
ΔE00 4.62
Ugly Purple
#A442A0
ΔE00 6.05
Purplish Pink
#CE5DAE
ΔE00 6.57
Medium Purple
#9E43A2
ΔE00 7.31
Purpleish Pink
#DF4EC8
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C045A6 #45C05F
analogous
#9C45C0 #C045A6 #C04568
triadic
#C045A6 #A6C045 #45A6C0
tetradic
#C045A6 #C09C45 #45C05F #4568C0
square
#C045A6 #C09C45 #45C05F #4568C0
split-complementary
#C045A6 #68C045 #45C09C
monochromatic
#682359 #953380 #C045A6 #CF73BC #DFA0D2
Accessibility & contrast
On white
4.52
#C045A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#C045A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C045A6
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C045A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C045A6 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#CA4B6F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c045a6; /* rgb */ color: rgb(192, 69, 166); /* oklch */ color: oklch(59.2% 0.191 337.1);
Tailwind
colors: {
custom: {
50: '#d681c0',
500: '#c045a6',
950: '#000000',
},
}SCSS
$custom: #c045a6; $custom-light: #d681c0; $custom-dark: #000000;
JSON
{
"hex": "#c045a6",
"rgb": {
"r": 192,
"g": 69,
"b": 166
},
"hsl": {
"h": 312.683,
"s": 49.398,
"l": 51.176
},
"oklch": {
"l": 0.59185,
"c": 0.1906,
"h": 337.1
},
"luminance": 0.18216
}Semantic roles & 50–950 ramp
primary
#C045A6
secondary
#95CCA1
accent
#D96C4F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81