#C787AA#C787AA
#C787AA is a light, moderate pink. Relative luminance 0.324; OKLCH L 69.8% C 0.090 H 345.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C787AA |
|---|---|
| RGB | rgb(199, 135, 170) |
| HSL | hsl(327, 36%, 65%) |
| HSV | hsv(327, 32%, 78%) |
| CMYK | cmyk(0%, 32.2%, 14.6%, 22%) |
| CIE-LAB | lab(63.65, 29.72, -8.48) |
| CIE-LCH | lch(63.65, 30.90, 344.07°) |
| OKLab | oklab(69.82% 0.0876 -0.0222) |
| OKLCH | oklch(69.82% 0.09 345.7) |
| XYZ | xyz(39.4730, 32.3743, 42.1921) |
| Luminance | 0.3237 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 5.70
Dusty Lavender
#AC86A8
ΔE00 6.32
Light Mauve
#C292A1
ΔE00 6.42
Grey Pink
#C3909B
ΔE00 7.50
Muted Pink
#D1768F
ΔE00 7.79
Pig Pink
#E78EA5
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C787AA #87C7A4
analogous
#C487C7 #C787AA #C7878A
triadic
#C787AA #AAC787 #87AAC7
tetradic
#C787AA #C7C487 #87C7A4 #878AC7
square
#C787AA #C7C487 #87C7A4 #878AC7
split-complementary
#C787AA #8AC787 #87C7C4
monochromatic
#90436D #B45D8C #C787AA #DAB1C8 #EEDAE5
Accessibility & contrast
On white
2.81
#C787AA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#C787AA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C787AA
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C787AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C787AA | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B94AB
Deuteranopia (green-blind)
#9B9EA8
Tritanopia (blue-blind)
#CF8693
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c787aa; /* rgb */ color: rgb(199, 135, 170); /* oklch */ color: oklch(69.8% 0.090 345.7);
Tailwind
colors: {
custom: {
50: '#d9aac3',
500: '#c787aa',
950: '#000000',
},
}SCSS
$custom: #c787aa; $custom-light: #d9aac3; $custom-dark: #000000;
JSON
{
"hex": "#c787aa",
"rgb": {
"r": 199,
"g": 135,
"b": 170
},
"hsl": {
"h": 327.188,
"s": 36.364,
"l": 65.49
},
"oklch": {
"l": 0.69824,
"c": 0.09033,
"h": 345.7
},
"luminance": 0.32372
}Semantic roles & 50–950 ramp
primary
#C787AA
secondary
#CAE0D4
accent
#AF6D36
background
#FDFAFB
surface
#FAF4F7
border
#D3CED0
text
#151012
muted
#837F81