#C845B2#C845B2
#C845B2 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 60.9% C 0.204 H 335.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C845B2 |
|---|---|
| RGB | rgb(200, 69, 178) |
| HSL | hsl(310, 54%, 53%) |
| HSV | hsv(310, 66%, 78%) |
| CMYK | cmyk(0%, 65.5%, 11%, 21.6%) |
| CIE-LAB | lab(51.56, 63.69, -31.54) |
| CIE-LCH | lch(51.56, 71.07, 333.66°) |
| OKLab | oklab(60.92% 0.1855 -0.0859) |
| OKLCH | oklch(60.92% 0.204 335.1) |
| XYZ | xyz(33.9838, 19.7528, 44.1337) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.04
Pinky Purple
#C94CBE
ΔE00 2.42
Purpleish Pink
#DF4EC8
ΔE00 5.76
Purplish Pink
#CE5DAE
ΔE00 5.77
Pinkish Purple
#D648D7
ΔE00 6.25
Hot Magenta
#F504C9
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C845B2 #45C85B
analogous
#9C45C8 #C845B2 #C84571
triadic
#C845B2 #B2C845 #45B2C8
tetradic
#C845B2 #C89C45 #45C85B #4571C8
square
#C845B2 #C89C45 #45C85B #4571C8
split-complementary
#C845B2 #71C845 #45C89C
monochromatic
#712164 #A02F8D #C845B2 #D674C6 #E4A3D9
Accessibility & contrast
On white
4.24
#C845B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#C845B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C845B2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C845B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C845B2 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#D14E75
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c845b2; /* rgb */ color: rgb(200, 69, 178); /* oklch */ color: oklch(60.9% 0.204 335.1);
Tailwind
colors: {
custom: {
50: '#dc82c9',
500: '#c845b2',
950: '#000000',
},
}SCSS
$custom: #c845b2; $custom-light: #dc82c9; $custom-dark: #000000;
JSON
{
"hex": "#c845b2",
"rgb": {
"r": 200,
"g": 69,
"b": 178
},
"hsl": {
"h": 310.076,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.60916,
"c": 0.20441,
"h": 335.1
},
"luminance": 0.1975
}Semantic roles & 50–950 ramp
primary
#C845B2
secondary
#98D1A2
accent
#DE634A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82