#C796BB#C796BB

#C796BB is a light, moderate pink. Relative luminance 0.375; OKLCH L 73.1% C 0.077 H 335.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#C796BB
RGBrgb(199, 150, 187)
HSLhsl(315, 30%, 68%)
HSVhsv(315, 25%, 78%)
CMYKcmyk(0%, 24.6%, 6%, 22%)
CIE-LABlab(67.68, 24.40, -12.01)
CIE-LCHlch(67.68, 27.20, 333.79°)
OKLaboklab(73.09% 0.0697 -0.032)
OKLCHoklch(73.09% 0.077 335.3)
XYZxyz(43.4286, 37.5441, 51.9632)
Luminance0.3754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C796BB #96C7A2
analogous
#BA96C7 #C796BB #C796A2
triadic
#C796BB #BBC796 #96BBC7
tetradic
#C796BB #C7BA96 #96C7A2 #96A2C7
square
#C796BB #C7BA96 #96C7A2 #96A2C7
split-complementary
#C796BB #A2C796 #96C7BA
monochromatic
#944F83 #B26EA1 #C796BB #DCBED5 #F2E6EF

Accessibility & contrast

On white

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

On black

8.51
#C796BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C796BB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C796BB#FFFFFF#000000##000000
##C796BB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A1BD
Deuteranopia (green-blind)
#A2A7B9
Tritanopia (blue-blind)
#CC98A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c796bb;
/* rgb */ color: rgb(199, 150, 187);
/* oklch */ color: oklch(73.1% 0.077 335.3);
Tailwind
colors: {
  custom: {
    50: '#d8b5cf',
    500: '#c796bb',
    950: '#000000',
  },
}
SCSS
$custom: #c796bb;
$custom-light: #d8b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c796bb",
  "rgb": {
    "r": 199,
    "g": 150,
    "b": 187
  },
  "hsl": {
    "h": 314.694,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73089,
    "c": 0.07665,
    "h": 335.3
  },
  "luminance": 0.37543
}

Semantic roles & 50–950 ramp

primary
#C796BB
secondary
#D5E4D9
accent
#A9573C
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141113
muted
#838082

Preview Lab

Preview with #C796BB

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

Preview Lab → · Contrast checker → · Palette generator →

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