#C845B0#C845B0
#C845B0 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.8% C 0.203 H 335.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C845B0 |
|---|---|
| RGB | rgb(200, 69, 176) |
| HSL | hsl(311, 54%, 53%) |
| HSV | hsv(311, 66%, 78%) |
| CMYK | cmyk(0%, 65.5%, 12%, 21.6%) |
| CIE-LAB | lab(51.47, 63.38, -30.51) |
| CIE-LCH | lch(51.47, 70.35, 334.30°) |
| OKLab | oklab(60.82% 0.1852 -0.083) |
| OKLCH | oklch(60.82% 0.203 335.9) |
| XYZ | xyz(33.7844, 19.6730, 43.0838) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.33
Pinky Purple
#C94CBE
ΔE00 2.74
Purplish Pink
#CE5DAE
ΔE00 5.64
Purpleish Pink
#DF4EC8
ΔE00 5.91
Pinkish Purple
#D648D7
ΔE00 6.57
Hot Magenta
#F504C9
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C845B0 #45C85D
analogous
#9E45C8 #C845B0 #C8456F
triadic
#C845B0 #B0C845 #45B0C8
tetradic
#C845B0 #C89E45 #45C85D #456FC8
square
#C845B0 #C89E45 #45C85D #456FC8
split-complementary
#C845B0 #6FC845 #45C89E
monochromatic
#712163 #A02F8C #C845B0 #D674C4 #E4A3D8
Accessibility & contrast
On white
4.26
#C845B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#C845B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C845B0
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C845B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C845B0 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#7182AD
Tritanopia (blue-blind)
#D24D74
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c845b0; /* rgb */ color: rgb(200, 69, 176); /* oklch */ color: oklch(60.8% 0.203 335.9);
Tailwind
colors: {
custom: {
50: '#dc82c8',
500: '#c845b0',
950: '#000000',
},
}SCSS
$custom: #c845b0; $custom-light: #dc82c8; $custom-dark: #000000;
JSON
{
"hex": "#c845b0",
"rgb": {
"r": 200,
"g": 69,
"b": 176
},
"hsl": {
"h": 310.992,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.6082,
"c": 0.20296,
"h": 335.9
},
"luminance": 0.1967
}Semantic roles & 50–950 ramp
primary
#C845B0
secondary
#98D1A2
accent
#DE654A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82