#C831A0#C831A0
#C831A0 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.216 H 341.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C831A0 |
|---|---|
| RGB | rgb(200, 49, 160) |
| HSL | hsl(316, 61%, 49%) |
| HSV | hsv(316, 76%, 78%) |
| CMYK | cmyk(0%, 75.5%, 20%, 21.6%) |
| CIE-LAB | lab(48.28, 68.07, -26.03) |
| CIE-LCH | lch(48.28, 72.88, 339.07°) |
| OKLab | oklab(58.28% 0.2039 -0.0701) |
| OKLCH | oklch(58.28% 0.216 341) |
| XYZ | xyz(31.2639, 17.0172, 34.8891) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.71
Mediumvioletred
#C71585
ΔE00 5.54
Pinky Purple
#C94CBE
ΔE00 6.67
Ugly Purple
#A442A0
ΔE00 6.81
Medium Purple
#9E43A2
ΔE00 8.17
Magenta (survey)
#C20078
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C831A0 #31C859
analogous
#A531C8 #C831A0 #C83155
triadic
#C831A0 #A0C831 #31A0C8
tetradic
#C831A0 #C8A531 #31C859 #3155C8
square
#C831A0 #C8A531 #31C859 #3155C8
split-complementary
#C831A0 #55C831 #31C8A5
monochromatic
#661951 #972579 #C831A0 #D85FB8 #E490CD
Accessibility & contrast
On white
4.77
#C831A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#C831A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C831A0
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C831A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C831A0 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#6F7B9D
Tritanopia (blue-blind)
#D43565
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c831a0; /* rgb */ color: rgb(200, 49, 160); /* oklch */ color: oklch(58.3% 0.216 341.0);
Tailwind
colors: {
custom: {
50: '#dd78bc',
500: '#c831a0',
950: '#000000',
},
}SCSS
$custom: #c831a0; $custom-light: #dd78bc; $custom-dark: #000000;
JSON
{
"hex": "#c831a0",
"rgb": {
"r": 200,
"g": 49,
"b": 160
},
"hsl": {
"h": 315.894,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.58276,
"c": 0.2156,
"h": 341
},
"luminance": 0.17014
}Semantic roles & 50–950 ramp
primary
#C831A0
secondary
#86CE9A
accent
#E46E44
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81