#C831A2#C831A2
#C831A2 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.4% C 0.217 H 340.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C831A2 |
|---|---|
| RGB | rgb(200, 49, 162) |
| HSL | hsl(315, 61%, 49%) |
| HSV | hsv(315, 76%, 78%) |
| CMYK | cmyk(0%, 75.5%, 19%, 21.6%) |
| CIE-LAB | lab(48.37, 68.34, -27.08) |
| CIE-LCH | lch(48.37, 73.51, 338.38°) |
| OKLab | oklab(58.37% 0.2042 -0.0731) |
| OKLCH | oklch(58.37% 0.217 340.3) |
| XYZ | xyz(31.4402, 17.0878, 35.8179) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.35
Mediumvioletred
#C71585
ΔE00 5.87
Pinky Purple
#C94CBE
ΔE00 6.39
Ugly Purple
#A442A0
ΔE00 6.68
Medium Purple
#9E43A2
ΔE00 8.02
Purplish Pink
#CE5DAE
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C831A2 #31C857
analogous
#A331C8 #C831A2 #C83157
triadic
#C831A2 #A2C831 #31A2C8
tetradic
#C831A2 #C8A331 #31C857 #3157C8
square
#C831A2 #C8A331 #31C857 #3157C8
split-complementary
#C831A2 #57C831 #31C8A3
monochromatic
#661952 #97257A #C831A2 #D85FB9 #E490CF
Accessibility & contrast
On white
4.75
#C831A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#C831A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C831A2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C831A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C831A2 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#6E7B9F
Tritanopia (blue-blind)
#D43666
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c831a2; /* rgb */ color: rgb(200, 49, 162); /* oklch */ color: oklch(58.4% 0.217 340.3);
Tailwind
colors: {
custom: {
50: '#dd79be',
500: '#c831a2',
950: '#000000',
},
}SCSS
$custom: #c831a2; $custom-light: #dd79be; $custom-dark: #000000;
JSON
{
"hex": "#c831a2",
"rgb": {
"r": 200,
"g": 49,
"b": 162
},
"hsl": {
"h": 315.099,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.58369,
"c": 0.21685,
"h": 340.3
},
"luminance": 0.17085
}Semantic roles & 50–950 ramp
primary
#C831A2
secondary
#86CE99
accent
#E46C44
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81