#C798AA#C798AA

#C798AA is a light, moderate pink. Relative luminance 0.375; OKLCH L 72.9% C 0.061 H 353.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C798AA
RGBrgb(199, 152, 170)
HSLhsl(337, 30%, 69%)
HSVhsv(337, 24%, 78%)
CMYKcmyk(0%, 23.6%, 14.6%, 22%)
CIE-LABlab(67.65, 20.38, -2.56)
CIE-LCHlch(67.65, 20.54, 352.84°)
OKLaboklab(72.9% 0.0605 -0.0065)
OKLCHoklch(72.9% 0.061 353.9)
XYZxyz(42.0371, 37.5025, 43.0468)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C798AA #98C7B5
analogous
#C798C2 #C798AA #C79E98
triadic
#C798AA #AAC798 #98AAC7
tetradic
#C798AA #C2C798 #98C7B5 #9E98C7
square
#C798AA #C2C798 #98C7B5 #9E98C7
split-complementary
#C798AA #98C79E #98C2C7
monochromatic
#94516A #B17089 #C798AA #DDC0CB #F2E7EB

Accessibility & contrast

On white

2.47
#C798AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#C798AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C798AA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C798AA#FFFFFF#000000##000000
##C798AA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA0AB
Deuteranopia (green-blind)
#A7A8A9
Tritanopia (blue-blind)
#CF969E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c798aa;
/* rgb */ color: rgb(199, 152, 170);
/* oklch */ color: oklch(72.9% 0.061 353.9);
Tailwind
colors: {
  custom: {
    50: '#d8b6c3',
    500: '#c798aa',
    950: '#000000',
  },
}
SCSS
$custom: #c798aa;
$custom-light: #d8b6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c798aa",
  "rgb": {
    "r": 199,
    "g": 152,
    "b": 170
  },
  "hsl": {
    "h": 337.021,
    "s": 29.56,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72897,
    "c": 0.06088,
    "h": 353.9
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

primary
#C798AA
secondary
#D6E4DF
accent
#A87F3D
background
#FDFBFB
surface
#FAF6F7
border
#D3D0D0
text
#141112
muted
#838081

Preview Lab

Preview with #C798AA

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

Preview Lab → · Contrast checker → · Palette generator →

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