#C797BF#C797BF
#C797BF is a light, moderate pink. Relative luminance 0.380; OKLCH L 73.4% C 0.078 H 332.2°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C797BF |
|---|---|
| RGB | rgb(199, 151, 191) |
| HSL | hsl(310, 30%, 69%) |
| HSV | hsv(310, 24%, 78%) |
| CMYK | cmyk(0%, 24.1%, 4%, 22%) |
| CIE-LAB | lab(68.05, 24.58, -13.69) |
| CIE-LCH | lch(68.05, 28.14, 330.87°) |
| OKLab | oklab(73.41% 0.0694 -0.0366) |
| OKLCH | oklch(73.41% 0.078 332.2) |
| XYZ | xyz(44.0230, 38.0383, 54.3033) |
| Luminance | 0.3804 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Lilac
#C8A2C8
ΔE00 3.29
Plum
#DDA0DD
ΔE00 6.29
Dusty Lavender
#AC86A8
ΔE00 6.66
Light Mauve
#C292A1
ΔE00 8.13
Heather
#A484AC
ΔE00 8.21
Pale Purple
#B790D4
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C797BF #97C79F
analogous
#B797C7 #C797BF #C797A7
triadic
#C797BF #BFC797 #97BFC7
tetradic
#C797BF #C7B797 #97C79F #97A7C7
square
#C797BF #C7B797 #97C79F #97A7C7
split-complementary
#C797BF #A7C797 #97C7B7
monochromatic
#945089 #B26FA7 #C797BF #DCBFD7 #F2E7F0
Accessibility & contrast
On white
2.44
#C797BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#C797BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C797BF
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C797BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C797BF | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96A2C1
Deuteranopia (green-blind)
#A1A8BD
Tritanopia (blue-blind)
#CB99A5
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c797bf; /* rgb */ color: rgb(199, 151, 191); /* oklch */ color: oklch(73.4% 0.078 332.2);
Tailwind
colors: {
custom: {
50: '#d8b6d2',
500: '#c797bf',
950: '#000000',
},
}SCSS
$custom: #c797bf; $custom-light: #d8b6d2; $custom-dark: #000000;
JSON
{
"hex": "#c797bf",
"rgb": {
"r": 199,
"g": 151,
"b": 191
},
"hsl": {
"h": 310,
"s": 30,
"l": 68.627
},
"oklch": {
"l": 0.73412,
"c": 0.07848,
"h": 332.2
},
"luminance": 0.38037
}Semantic roles & 50–950 ramp
primary
#C797BF
secondary
#D6E4D8
accent
#A94F3D
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082