#C797AE#C797AE

#C797AE is a light, moderate pink. Relative luminance 0.373; OKLCH L 72.8% C 0.065 H 348.5°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#C797AE
RGBrgb(199, 151, 174)
HSLhsl(331, 30%, 69%)
HSVhsv(331, 24%, 78%)
CMYKcmyk(0%, 24.1%, 12.6%, 22%)
CIE-LABlab(67.53, 21.59, -4.98)
CIE-LCHlch(67.53, 22.16, 347.01°)
OKLaboklab(72.84% 0.0636 -0.0129)
OKLCHoklch(72.84% 0.065 348.5)
XYZxyz(42.2596, 37.3329, 45.0161)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C797AE #97C7B0
analogous
#C797C6 #C797AE #C79897
triadic
#C797AE #AEC797 #97AEC7
tetradic
#C797AE #C6C797 #97C7B0 #9897C7
square
#C797AE #C6C797 #97C7B0 #9897C7
split-complementary
#C797AE #97C798 #97C6C7
monochromatic
#945070 #B26F8F #C797AE #DCBFCD #F2E7EC

Accessibility & contrast

On white

2.48
#C797AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#C797AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C797AE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C797AE#FFFFFF#000000##000000
##C797AE1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA0AF
Deuteranopia (green-blind)
#A6A7AD
Tritanopia (blue-blind)
#CE969F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c797ae;
/* rgb */ color: rgb(199, 151, 174);
/* oklch */ color: oklch(72.8% 0.065 348.5);
Tailwind
colors: {
  custom: {
    50: '#d8b6c6',
    500: '#c797ae',
    950: '#000000',
  },
}
SCSS
$custom: #c797ae;
$custom-light: #d8b6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c797ae",
  "rgb": {
    "r": 199,
    "g": 151,
    "b": 174
  },
  "hsl": {
    "h": 331.25,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.06488,
    "h": 348.5
  },
  "luminance": 0.37331
}

Semantic roles & 50–950 ramp

primary
#C797AE
secondary
#D6E4DD
accent
#A9753D
background
#FDFBFC
surface
#FAF6F8
border
#D3D0D1
text
#141113
muted
#838082

Preview Lab

Preview with #C797AE

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

Preview Lab → · Contrast checker → · Palette generator →

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