#C645A3#C645A3
#C645A3 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 340.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C645A3 |
|---|---|
| RGB | rgb(198, 69, 163) |
| HSL | hsl(316, 53%, 52%) |
| HSV | hsv(316, 65%, 78%) |
| CMYK | cmyk(0%, 65.2%, 17.7%, 22.4%) |
| CIE-LAB | lab(50.58, 60.95, -24.27) |
| CIE-LCH | lch(50.58, 65.61, 338.29°) |
| OKLab | oklab(59.93% 0.1811 -0.0653) |
| OKLCH | oklch(59.93% 0.193 340.2) |
| XYZ | xyz(32.0284, 18.9093, 36.6063) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.44
Pinky Purple
#C94CBE
ΔE00 5.06
Purplish Pink
#CE5DAE
ΔE00 5.66
Ugly Purple
#A442A0
ΔE00 7.51
Purpleish Pink
#DF4EC8
ΔE00 7.56
Mediumvioletred
#C71585
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C645A3 #45C668
analogous
#A845C6 #C645A3 #C64563
triadic
#C645A3 #A3C645 #45A3C6
tetradic
#C645A3 #C6A845 #45C668 #4563C6
square
#C645A3 #C6A845 #45C668 #4563C6
split-complementary
#C645A3 #63C645 #45C6A8
monochromatic
#6F225A #9E3080 #C645A3 #D474BA #E3A3D1
Accessibility & contrast
On white
4.39
#C645A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#C645A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C645A3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C645A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C645A3 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#D1486E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c645a3; /* rgb */ color: rgb(198, 69, 163); /* oklch */ color: oklch(59.9% 0.193 340.2);
Tailwind
colors: {
custom: {
50: '#db81be',
500: '#c645a3',
950: '#000000',
},
}SCSS
$custom: #c645a3; $custom-light: #db81be; $custom-dark: #000000;
JSON
{
"hex": "#c645a3",
"rgb": {
"r": 198,
"g": 69,
"b": 163
},
"hsl": {
"h": 316.279,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.59927,
"c": 0.19257,
"h": 340.2
},
"luminance": 0.18906
}Semantic roles & 50–950 ramp
primary
#C645A3
secondary
#97CFA7
accent
#DC734B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81