#C831A6#C831A6
#C831A6 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.219 H 338.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C831A6 |
|---|---|
| RGB | rgb(200, 49, 166) |
| HSL | hsl(314, 61%, 49%) |
| HSV | hsv(314, 76%, 78%) |
| CMYK | cmyk(0%, 75.5%, 17%, 21.6%) |
| CIE-LAB | lab(48.55, 68.88, -29.17) |
| CIE-LCH | lch(48.55, 74.80, 337.05°) |
| OKLab | oklab(58.56% 0.2047 -0.079) |
| OKLCH | oklch(58.56% 0.219 338.9) |
| XYZ | xyz(31.8015, 17.2323, 37.7203) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.66
Pinky Purple
#C94CBE
ΔE00 5.86
Ugly Purple
#A442A0
ΔE00 6.48
Mediumvioletred
#C71585
ΔE00 6.55
Medium Purple
#9E43A2
ΔE00 7.77
Purplish Pink
#CE5DAE
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C831A6 #31C853
analogous
#9F31C8 #C831A6 #C8315B
triadic
#C831A6 #A6C831 #31A6C8
tetradic
#C831A6 #C89F31 #31C853 #315BC8
square
#C831A6 #C89F31 #31C853 #315BC8
split-complementary
#C831A6 #5BC831 #31C89F
monochromatic
#661954 #97257D #C831A6 #D85FBC #E490D1
Accessibility & contrast
On white
4.72
#C831A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#C831A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C831A6
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C831A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C831A6 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#D33869
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c831a6; /* rgb */ color: rgb(200, 49, 166); /* oklch */ color: oklch(58.6% 0.219 338.9);
Tailwind
colors: {
custom: {
50: '#dd79c0',
500: '#c831a6',
950: '#000000',
},
}SCSS
$custom: #c831a6; $custom-light: #dd79c0; $custom-dark: #000000;
JSON
{
"hex": "#c831a6",
"rgb": {
"r": 200,
"g": 49,
"b": 166
},
"hsl": {
"h": 313.51,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.58559,
"c": 0.21939,
"h": 338.9
},
"luminance": 0.17229
}Semantic roles & 50–950 ramp
primary
#C831A6
secondary
#86CE97
accent
#E46844
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81