#C645A2#C645A2
#C645A2 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.192 H 340.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C645A2 |
|---|---|
| RGB | rgb(198, 69, 162) |
| HSL | hsl(317, 53%, 52%) |
| HSV | hsv(317, 65%, 78%) |
| CMYK | cmyk(0%, 65.2%, 18.2%, 22.4%) |
| CIE-LAB | lab(50.54, 60.81, -23.75) |
| CIE-LCH | lch(50.54, 65.28, 338.67°) |
| OKLab | oklab(59.88% 0.181 -0.0639) |
| OKLCH | oklch(59.88% 0.192 340.6) |
| XYZ | xyz(31.9392, 18.8736, 36.1363) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.63
Pinky Purple
#C94CBE
ΔE00 5.25
Purplish Pink
#CE5DAE
ΔE00 5.69
Mediumvioletred
#C71585
ΔE00 7.44
Ugly Purple
#A442A0
ΔE00 7.58
Purpleish Pink
#DF4EC8
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C645A2 #45C669
analogous
#A945C6 #C645A2 #C64562
triadic
#C645A2 #A2C645 #45A2C6
tetradic
#C645A2 #C6A945 #45C669 #4562C6
square
#C645A2 #C6A945 #45C669 #4562C6
split-complementary
#C645A2 #62C645 #45C6A9
monochromatic
#6F2259 #9E307F #C645A2 #D474B9 #E3A3D1
Accessibility & contrast
On white
4.40
#C645A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#C645A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C645A2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C645A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C645A2 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#D1486D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c645a2; /* rgb */ color: rgb(198, 69, 162); /* oklch */ color: oklch(59.9% 0.192 340.6);
Tailwind
colors: {
custom: {
50: '#db81bd',
500: '#c645a2',
950: '#000000',
},
}SCSS
$custom: #c645a2; $custom-light: #db81bd; $custom-dark: #000000;
JSON
{
"hex": "#c645a2",
"rgb": {
"r": 198,
"g": 69,
"b": 162
},
"hsl": {
"h": 316.744,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.59883,
"c": 0.1919,
"h": 340.6
},
"luminance": 0.18871
}Semantic roles & 50–950 ramp
primary
#C645A2
secondary
#97CFA7
accent
#DC744B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81