#C845AF#C845AF
#C845AF is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.202 H 336.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C845AF |
|---|---|
| RGB | rgb(200, 69, 175) |
| HSL | hsl(311, 54%, 53%) |
| HSV | hsv(311, 66%, 78%) |
| CMYK | cmyk(0%, 65.5%, 12.5%, 21.6%) |
| CIE-LAB | lab(51.42, 63.23, -30.00) |
| CIE-LCH | lch(51.42, 69.99, 334.62°) |
| OKLab | oklab(60.77% 0.1851 -0.0815) |
| OKLCH | oklch(60.77% 0.202 336.2) |
| XYZ | xyz(33.6858, 19.6336, 42.5646) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.48
Pinky Purple
#C94CBE
ΔE00 2.91
Purplish Pink
#CE5DAE
ΔE00 5.59
Purpleish Pink
#DF4EC8
ΔE00 6.00
Pinkish Purple
#D648D7
ΔE00 6.74
Hot Magenta
#F504C9
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C845AF #45C85E
analogous
#9F45C8 #C845AF #C8456E
triadic
#C845AF #AFC845 #45AFC8
tetradic
#C845AF #C89F45 #45C85E #456EC8
square
#C845AF #C89F45 #45C85E #456EC8
split-complementary
#C845AF #6EC845 #45C89F
monochromatic
#712162 #A02F8B #C845AF #D674C3 #E4A3D8
Accessibility & contrast
On white
4.26
#C845AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#C845AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C845AF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C845AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C845AF | 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)
#476EB2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#D24D74
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c845af; /* rgb */ color: rgb(200, 69, 175); /* oklch */ color: oklch(60.8% 0.202 336.2);
Tailwind
colors: {
custom: {
50: '#dc82c7',
500: '#c845af',
950: '#000000',
},
}SCSS
$custom: #c845af; $custom-light: #dc82c7; $custom-dark: #000000;
JSON
{
"hex": "#c845af",
"rgb": {
"r": 200,
"g": 69,
"b": 175
},
"hsl": {
"h": 311.45,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.60772,
"c": 0.20224,
"h": 336.2
},
"luminance": 0.19631
}Semantic roles & 50–950 ramp
primary
#C845AF
secondary
#98D1A3
accent
#DE664A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82