#C845AB#C845AB
#C845AB is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.6% C 0.199 H 337.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C845AB |
|---|---|
| RGB | rgb(200, 69, 171) |
| HSL | hsl(313, 54%, 53%) |
| HSV | hsv(313, 66%, 78%) |
| CMYK | cmyk(0%, 65.5%, 14.5%, 21.6%) |
| CIE-LAB | lab(51.24, 62.64, -27.93) |
| CIE-LCH | lch(51.24, 68.58, 335.97°) |
| OKLab | oklab(60.59% 0.1845 -0.0757) |
| OKLCH | oklch(60.59% 0.199 337.7) |
| XYZ | xyz(33.2988, 19.4788, 40.5262) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.14
Pinky Purple
#C94CBE
ΔE00 3.61
Purplish Pink
#CE5DAE
ΔE00 5.42
Purpleish Pink
#DF4EC8
ΔE00 6.39
Pinkish Purple
#D648D7
ΔE00 7.42
Hot Magenta
#F504C9
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C845AB #45C862
analogous
#A345C8 #C845AB #C8456A
triadic
#C845AB #ABC845 #45ABC8
tetradic
#C845AB #C8A345 #45C862 #456AC8
square
#C845AB #C8A345 #45C862 #456AC8
split-complementary
#C845AB #6AC845 #45C8A3
monochromatic
#712160 #A02F87 #C845AB #D674C0 #E4A3D6
Accessibility & contrast
On white
4.29
#C845AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#C845AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C845AB
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C845AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C845AB | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496DAE
Deuteranopia (green-blind)
#7381A8
Tritanopia (blue-blind)
#D24B72
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c845ab; /* rgb */ color: rgb(200, 69, 171); /* oklch */ color: oklch(60.6% 0.199 337.7);
Tailwind
colors: {
custom: {
50: '#dc82c4',
500: '#c845ab',
950: '#000000',
},
}SCSS
$custom: #c845ab; $custom-light: #dc82c4; $custom-dark: #000000;
JSON
{
"hex": "#c845ab",
"rgb": {
"r": 200,
"g": 69,
"b": 171
},
"hsl": {
"h": 313.282,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.60585,
"c": 0.1994,
"h": 337.7
},
"luminance": 0.19476
}Semantic roles & 50–950 ramp
primary
#C845AB
secondary
#98D1A5
accent
#DE6B4A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81