#C845A0#C845A0
#C845A0 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.192 H 342.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C845A0 |
|---|---|
| RGB | rgb(200, 69, 160) |
| HSL | hsl(318, 54%, 53%) |
| HSV | hsv(318, 66%, 78%) |
| CMYK | cmyk(0%, 65.5%, 20%, 21.6%) |
| CIE-LAB | lab(50.78, 61.06, -22.17) |
| CIE-LCH | lch(50.78, 64.97, 340.04°) |
| OKLab | oklab(60.09% 0.1826 -0.0594) |
| OKLCH | oklch(60.09% 0.192 342) |
| XYZ | xyz(32.2936, 19.0767, 35.2323) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.21
Purplish Pink
#CE5DAE
ΔE00 5.51
Pinky Purple
#C94CBE
ΔE00 5.70
Mediumvioletred
#C71585
ΔE00 7.28
Purpleish Pink
#DF4EC8
ΔE00 7.79
Ugly Purple
#A442A0
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C845A0 #45C86D
analogous
#AF45C8 #C845A0 #C8455E
triadic
#C845A0 #A0C845 #45A0C8
tetradic
#C845A0 #C8AF45 #45C86D #455EC8
square
#C845A0 #C8AF45 #45C86D #455EC8
split-complementary
#C845A0 #5EC845 #45C8AF
monochromatic
#712159 #A02F7E #C845A0 #D674B8 #E4A3D0
Accessibility & contrast
On white
4.36
#C845A0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#C845A0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C845A0
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C845A0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C845A0 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6BA3
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#D4466C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c845a0; /* rgb */ color: rgb(200, 69, 160); /* oklch */ color: oklch(60.1% 0.192 342.0);
Tailwind
colors: {
custom: {
50: '#dc82bc',
500: '#c845a0',
950: '#000000',
},
}SCSS
$custom: #c845a0; $custom-light: #dc82bc; $custom-dark: #000000;
JSON
{
"hex": "#c845a0",
"rgb": {
"r": 200,
"g": 69,
"b": 160
},
"hsl": {
"h": 318.321,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.60092,
"c": 0.192,
"h": 342
},
"luminance": 0.19074
}Semantic roles & 50–950 ramp
primary
#C845A0
secondary
#98D1A9
accent
#DE774A
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#150B12
muted
#847C81