#C798BD#C798BD

#C798BD is a light, moderate pink. Relative luminance 0.383; OKLCH L 73.5% C 0.075 H 334.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#C798BD
RGBrgb(199, 152, 189)
HSLhsl(313, 30%, 69%)
HSVhsv(313, 24%, 78%)
CMYKcmyk(0%, 23.6%, 5%, 22%)
CIE-LABlab(68.22, 23.66, -12.32)
CIE-LCHlch(68.22, 26.68, 332.50°)
OKLaboklab(73.52% 0.0672 -0.0328)
OKLCHoklch(73.52% 0.075 334)
XYZxyz(43.9660, 38.2741, 53.2059)
Luminance0.3827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C798BD #98C7A2
analogous
#BA98C7 #C798BD #C798A6
triadic
#C798BD #BDC798 #98BDC7
tetradic
#C798BD #C7BA98 #98C7A2 #98A6C7
square
#C798BD #C7BA98 #98C7A2 #98A6C7
split-complementary
#C798BD #A6C798 #98C7BA
monochromatic
#945186 #B170A4 #C798BD #DDC0D6 #F2E7F0

Accessibility & contrast

On white

2.43
#C798BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#C798BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C798BD
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C798BD#FFFFFF#000000##000000
##C798BD1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A2BF
Deuteranopia (green-blind)
#A3A9BB
Tritanopia (blue-blind)
#CC9AA5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c798bd;
/* rgb */ color: rgb(199, 152, 189);
/* oklch */ color: oklch(73.5% 0.075 334.0);
Tailwind
colors: {
  custom: {
    50: '#d8b6d0',
    500: '#c798bd',
    950: '#000000',
  },
}
SCSS
$custom: #c798bd;
$custom-light: #d8b6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c798bd",
  "rgb": {
    "r": 199,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 312.766,
    "s": 29.56,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73524,
    "c": 0.07481,
    "h": 334
  },
  "luminance": 0.38273
}

Semantic roles & 50–950 ramp

primary
#C798BD
secondary
#D6E4D9
accent
#A8543D
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082

Preview Lab

Preview with #C798BD

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

Preview Lab → · Contrast checker → · Palette generator →

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