#C645AC#C645AC
#C645AC is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.3% C 0.199 H 336.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #C645AC |
|---|---|
| RGB | rgb(198, 69, 172) |
| HSL | hsl(312, 53%, 52%) |
| HSV | hsv(312, 65%, 78%) |
| CMYK | cmyk(0%, 65.2%, 13.1%, 22.4%) |
| CIE-LAB | lab(50.97, 62.27, -28.96) |
| CIE-LCH | lch(50.97, 68.68, 335.06°) |
| OKLab | oklab(60.34% 0.1826 -0.0786) |
| OKLCH | oklch(60.34% 0.199 336.7) |
| XYZ | xyz(32.8637, 19.2434, 41.0052) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.77
Pinky Purple
#C94CBE
ΔE00 3.43
Purplish Pink
#CE5DAE
ΔE00 5.76
Purpleish Pink
#DF4EC8
ΔE00 6.55
Ugly Purple
#A442A0
ΔE00 7.18
Pinkish Purple
#D648D7
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C645AC #45C65F
analogous
#9F45C6 #C645AC #C6456C
triadic
#C645AC #ACC645 #45ACC6
tetradic
#C645AC #C69F45 #45C65F #456CC6
square
#C645AC #C69F45 #45C65F #456CC6
split-complementary
#C645AC #6CC645 #45C69F
monochromatic
#6F225F #9E3088 #C645AC #D474C1 #E3A3D6
Accessibility & contrast
On white
4.33
#C645AC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#C645AC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C645AC
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C645AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C645AC | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486DAF
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#D04C72
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c645ac; /* rgb */ color: rgb(198, 69, 172); /* oklch */ color: oklch(60.3% 0.199 336.7);
Tailwind
colors: {
custom: {
50: '#db82c5',
500: '#c645ac',
950: '#000000',
},
}SCSS
$custom: #c645ac; $custom-light: #db82c5; $custom-dark: #000000;
JSON
{
"hex": "#c645ac",
"rgb": {
"r": 198,
"g": 69,
"b": 172
},
"hsl": {
"h": 312.093,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.60339,
"c": 0.19882,
"h": 336.7
},
"luminance": 0.19241
}Semantic roles & 50–950 ramp
primary
#C645AC
secondary
#97CFA3
accent
#DC694B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82