#C645AF#C645AF
#C645AF is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.5% C 0.201 H 335.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C645AF |
|---|---|
| RGB | rgb(198, 69, 175) |
| HSL | hsl(311, 53%, 52%) |
| HSV | hsv(311, 65%, 78%) |
| CMYK | cmyk(0%, 65.2%, 11.6%, 22.4%) |
| CIE-LAB | lab(51.11, 62.72, -30.51) |
| CIE-LCH | lch(51.11, 69.75, 334.06°) |
| OKLab | oklab(60.48% 0.183 -0.083) |
| OKLCH | oklch(60.48% 0.201 335.6) |
| XYZ | xyz(33.1551, 19.3599, 42.5398) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.27
Pinky Purple
#C94CBE
ΔE00 2.93
Purplish Pink
#CE5DAE
ΔE00 5.90
Purpleish Pink
#DF4EC8
ΔE00 6.29
Pinkish Purple
#D648D7
ΔE00 6.82
Ugly Purple
#A442A0
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C645AF #45C65C
analogous
#9D45C6 #C645AF #C6456E
triadic
#C645AF #AFC645 #45AFC6
tetradic
#C645AF #C69D45 #45C65C #456EC6
square
#C645AF #C69D45 #45C65C #456EC6
split-complementary
#C645AF #6EC645 #45C69D
monochromatic
#6F2261 #9E308A #C645AF #D474C3 #E3A3D7
Accessibility & contrast
On white
4.31
#C645AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#C645AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C645AF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C645AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C645AF | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466DB2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#D04D74
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c645af; /* rgb */ color: rgb(198, 69, 175); /* oklch */ color: oklch(60.5% 0.201 335.6);
Tailwind
colors: {
custom: {
50: '#db82c7',
500: '#c645af',
950: '#000000',
},
}SCSS
$custom: #c645af; $custom-light: #db82c7; $custom-dark: #000000;
JSON
{
"hex": "#c645af",
"rgb": {
"r": 198,
"g": 69,
"b": 175
},
"hsl": {
"h": 310.698,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.60482,
"c": 0.20099,
"h": 335.6
},
"luminance": 0.19357
}Semantic roles & 50–950 ramp
primary
#C645AF
secondary
#97CFA1
accent
#DC654B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82