#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
RGBrgb(199, 151, 191)
HSLhsl(310, 30%, 69%)
HSVhsv(310, 24%, 78%)
CMYKcmyk(0%, 24.1%, 4%, 22%)
CIE-LABlab(68.05, 24.58, -13.69)
CIE-LCHlch(68.05, 28.14, 330.87°)
OKLaboklab(73.41% 0.0694 -0.0366)
OKLCHoklch(73.41% 0.078 332.2)
XYZxyz(44.0230, 38.0383, 54.3033)
Luminance0.3804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

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
##C797BF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.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

Preview Lab

Preview with #C797BF

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

Preview Lab → · Contrast checker → · Palette generator →

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