#C845A3#C845A3
#C845A3 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.2% C 0.194 H 340.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C845A3 |
|---|---|
| RGB | rgb(200, 69, 163) |
| HSL | hsl(317, 54%, 53%) |
| HSV | hsv(317, 66%, 78%) |
| CMYK | cmyk(0%, 65.5%, 18.5%, 21.6%) |
| CIE-LAB | lab(50.90, 61.49, -23.75) |
| CIE-LCH | lch(50.90, 65.91, 338.88°) |
| OKLab | oklab(60.22% 0.1831 -0.0639) |
| OKLCH | oklch(60.22% 0.194 340.8) |
| XYZ | xyz(32.5592, 19.1830, 36.6311) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.63
Pinky Purple
#C94CBE
ΔE00 5.11
Purplish Pink
#CE5DAE
ΔE00 5.40
Purpleish Pink
#DF4EC8
ΔE00 7.36
Mediumvioletred
#C71585
ΔE00 7.64
Ugly Purple
#A442A0
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C845A3 #45C86A
analogous
#AC45C8 #C845A3 #C84561
triadic
#C845A3 #A3C845 #45A3C8
tetradic
#C845A3 #C8AC45 #45C86A #4561C8
square
#C845A3 #C8AC45 #45C86A #4561C8
split-complementary
#C845A3 #61C845 #45C8AC
monochromatic
#71215B #A02F80 #C845A3 #D674BA #E4A3D2
Accessibility & contrast
On white
4.34
#C845A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#C845A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C845A3
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C845A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C845A3 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6CA6
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#D4486E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c845a3; /* rgb */ color: rgb(200, 69, 163); /* oklch */ color: oklch(60.2% 0.194 340.8);
Tailwind
colors: {
custom: {
50: '#dc82be',
500: '#c845a3',
950: '#000000',
},
}SCSS
$custom: #c845a3; $custom-light: #dc82be; $custom-dark: #000000;
JSON
{
"hex": "#c845a3",
"rgb": {
"r": 200,
"g": 69,
"b": 163
},
"hsl": {
"h": 316.947,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.60223,
"c": 0.19395,
"h": 340.8
},
"luminance": 0.1918
}Semantic roles & 50–950 ramp
primary
#C845A3
secondary
#98D1A8
accent
#DE744A
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#150B12
muted
#847C81