#C845A2#C845A2
#C845A2 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.2% C 0.193 H 341.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #C845A2 |
|---|---|
| RGB | rgb(200, 69, 162) |
| HSL | hsl(317, 54%, 53%) |
| HSV | hsv(317, 66%, 78%) |
| CMYK | cmyk(0%, 65.5%, 19%, 21.6%) |
| CIE-LAB | lab(50.86, 61.34, -23.23) |
| CIE-LCH | lch(50.86, 65.59, 339.26°) |
| OKLab | oklab(60.18% 0.183 -0.0624) |
| OKLCH | oklch(60.18% 0.193 341.2) |
| XYZ | xyz(32.4700, 19.1473, 36.1611) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.82
Pinky Purple
#C94CBE
ΔE00 5.30
Purplish Pink
#CE5DAE
ΔE00 5.43
Purpleish Pink
#DF4EC8
ΔE00 7.50
Mediumvioletred
#C71585
ΔE00 7.51
Ugly Purple
#A442A0
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C845A2 #45C86B
analogous
#AD45C8 #C845A2 #C84560
triadic
#C845A2 #A2C845 #45A2C8
tetradic
#C845A2 #C8AD45 #45C86B #4560C8
square
#C845A2 #C8AD45 #45C86B #4560C8
split-complementary
#C845A2 #60C845 #45C8AD
monochromatic
#71215A #A02F80 #C845A2 #D674BA #E4A3D1
Accessibility & contrast
On white
4.35
#C845A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#C845A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C845A2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C845A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C845A2 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#D4476D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c845a2; /* rgb */ color: rgb(200, 69, 162); /* oklch */ color: oklch(60.2% 0.193 341.2);
Tailwind
colors: {
custom: {
50: '#dc82bd',
500: '#c845a2',
950: '#000000',
},
}SCSS
$custom: #c845a2; $custom-light: #dc82bd; $custom-dark: #000000;
JSON
{
"hex": "#c845a2",
"rgb": {
"r": 200,
"g": 69,
"b": 162
},
"hsl": {
"h": 317.405,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.60179,
"c": 0.1933,
"h": 341.2
},
"luminance": 0.19144
}Semantic roles & 50–950 ramp
primary
#C845A2
secondary
#98D1A8
accent
#DE754A
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#150B12
muted
#847C81