#C797BB#C797BB

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

Color values

HEX#C797BB
RGBrgb(199, 151, 187)
HSLhsl(315, 30%, 69%)
HSVhsv(315, 24%, 78%)
CMYKcmyk(0%, 24.1%, 6%, 22%)
CIE-LABlab(67.92, 23.85, -11.66)
CIE-LCHlch(67.92, 26.55, 333.96°)
OKLaboklab(73.27% 0.0681 -0.031)
OKLCHoklch(73.27% 0.075 335.5)
XYZxyz(43.5888, 37.8646, 52.0166)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C797BB #97C7A3
analogous
#BB97C7 #C797BB #C797A3
triadic
#C797BB #BBC797 #97BBC7
tetradic
#C797BB #C7BB97 #97C7A3 #97A3C7
square
#C797BB #C7BB97 #97C7A3 #97A3C7
split-complementary
#C797BB #A3C797 #97C7BB
monochromatic
#945083 #B26FA1 #C797BB #DCBFD5 #F2E7EF

Accessibility & contrast

On white

2.45
#C797BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#C797BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C797BB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C797BB#FFFFFF#000000##000000
##C797BB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A1BC
Deuteranopia (green-blind)
#A2A8B9
Tritanopia (blue-blind)
#CC99A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c797bb;
/* rgb */ color: rgb(199, 151, 187);
/* oklch */ color: oklch(73.3% 0.075 335.5);
Tailwind
colors: {
  custom: {
    50: '#d8b6cf',
    500: '#c797bb',
    950: '#000000',
  },
}
SCSS
$custom: #c797bb;
$custom-light: #d8b6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c797bb",
  "rgb": {
    "r": 199,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 315,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73272,
    "c": 0.07483,
    "h": 335.5
  },
  "luminance": 0.37863
}

Semantic roles & 50–950 ramp

primary
#C797BB
secondary
#D6E4D9
accent
#A9583D
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141113
muted
#838082

Preview Lab

Preview with #C797BB

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

Preview Lab → · Contrast checker → · Palette generator →

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