#C645A5#C645A5
#C645A5 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.194 H 339.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C645A5 |
|---|---|
| RGB | rgb(198, 69, 165) |
| HSL | hsl(315, 53%, 52%) |
| HSV | hsv(315, 65%, 78%) |
| CMYK | cmyk(0%, 65.2%, 16.7%, 22.4%) |
| CIE-LAB | lab(50.67, 61.24, -25.32) |
| CIE-LCH | lch(50.67, 66.27, 337.54°) |
| OKLab | oklab(60.02% 0.1815 -0.0683) |
| OKLCH | oklch(60.02% 0.194 339.4) |
| XYZ | xyz(32.2090, 18.9815, 37.5575) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.05
Pinky Purple
#C94CBE
ΔE00 4.68
Purplish Pink
#CE5DAE
ΔE00 5.64
Purpleish Pink
#DF4EC8
ΔE00 7.31
Ugly Purple
#A442A0
ΔE00 7.40
Mediumvioletred
#C71585
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C645A5 #45C666
analogous
#A745C6 #C645A5 #C64565
triadic
#C645A5 #A5C645 #45A5C6
tetradic
#C645A5 #C6A745 #45C666 #4565C6
square
#C645A5 #C6A745 #45C666 #4565C6
split-complementary
#C645A5 #65C645 #45C6A7
monochromatic
#6F225B #9E3082 #C645A5 #D474BC #E3A3D2
Accessibility & contrast
On white
4.38
#C645A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#C645A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C645A5
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C645A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C645A5 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C6CA8
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#D1496F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c645a5; /* rgb */ color: rgb(198, 69, 165); /* oklch */ color: oklch(60.0% 0.194 339.4);
Tailwind
colors: {
custom: {
50: '#db82c0',
500: '#c645a5',
950: '#000000',
},
}SCSS
$custom: #c645a5; $custom-light: #db82c0; $custom-dark: #000000;
JSON
{
"hex": "#c645a5",
"rgb": {
"r": 198,
"g": 69,
"b": 165
},
"hsl": {
"h": 315.349,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.60017,
"c": 0.19393,
"h": 339.4
},
"luminance": 0.18979
}Semantic roles & 50–950 ramp
primary
#C645A5
secondary
#97CFA6
accent
#DC704B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81