#C797BD#C797BD

#C797BD is a light, moderate pink. Relative luminance 0.379; OKLCH L 73.3% C 0.077 H 333.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C797BD
RGBrgb(199, 151, 189)
HSLhsl(313, 30%, 69%)
HSVhsv(313, 24%, 78%)
CMYKcmyk(0%, 24.1%, 5%, 22%)
CIE-LABlab(67.98, 24.21, -12.68)
CIE-LCHlch(67.98, 27.33, 332.37°)
OKLaboklab(73.34% 0.0688 -0.0338)
OKLCHoklch(73.34% 0.077 333.8)
XYZxyz(43.8044, 37.9509, 53.1520)
Luminance0.3795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C797BD #97C7A1
analogous
#B997C7 #C797BD #C797A5
triadic
#C797BD #BDC797 #97BDC7
tetradic
#C797BD #C7B997 #97C7A1 #97A5C7
square
#C797BD #C7B997 #97C7A1 #97A5C7
split-complementary
#C797BD #A5C797 #97C7B9
monochromatic
#945086 #B26FA4 #C797BD #DCBFD6 #F2E7EF

Accessibility & contrast

On white

2.44
#C797BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C797BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C797BD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C797BD#FFFFFF#000000##000000
##C797BD1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A2BF
Deuteranopia (green-blind)
#A2A8BB
Tritanopia (blue-blind)
#CC99A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c797bd;
/* rgb */ color: rgb(199, 151, 189);
/* oklch */ color: oklch(73.3% 0.077 333.8);
Tailwind
colors: {
  custom: {
    50: '#d8b6d0',
    500: '#c797bd',
    950: '#000000',
  },
}
SCSS
$custom: #c797bd;
$custom-light: #d8b6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c797bd",
  "rgb": {
    "r": 199,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 312.5,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.07663,
    "h": 333.8
  },
  "luminance": 0.37949
}

Semantic roles & 50–950 ramp

primary
#C797BD
secondary
#D6E4D9
accent
#A9533D
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082

Preview Lab

Preview with #C797BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C797BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva