#CD799C#CD799C

#CD799C is a light, moderate pink. Relative luminance 0.291; OKLCH L 67.7% C 0.113 H 354.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#CD799C
RGBrgb(205, 121, 156)
HSLhsl(335, 46%, 64%)
HSVhsv(335, 41%, 80%)
CMYKcmyk(0%, 41%, 23.9%, 19.6%)
CIE-LABlab(60.83, 37.22, -4.60)
CIE-LCHlch(60.83, 37.51, 352.95°)
OKLaboklab(67.69% 0.1119 -0.0117)
OKLCHoklch(67.69% 0.113 354)
XYZxyz(38.0159, 29.0569, 35.0523)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD799C #79CDAA
analogous
#CD79C6 #CD799C #CD8079
triadic
#CD799C #9CCD79 #799CCD
tetradic
#CD799C #C6CD79 #79CDAA #8079CD
square
#CD799C #C6CD79 #79CDAA #8079CD
split-complementary
#CD799C #79CD80 #79C6CD
monochromatic
#94375E #BC4C7B #CD799C #DEA6BD #EED2DE

Accessibility & contrast

On white

3.08
#CD799C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#CD799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD799C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD799C#FFFFFF#000000##000000
##CD799C1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#838A9D
Deuteranopia (green-blind)
#98989A
Tritanopia (blue-blind)
#D97585
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd799c;
/* rgb */ color: rgb(205, 121, 156);
/* oklch */ color: oklch(67.7% 0.113 354.0);
Tailwind
colors: {
  custom: {
    50: '#dea1b9',
    500: '#cd799c',
    950: '#000000',
  },
}
SCSS
$custom: #cd799c;
$custom-light: #dea1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd799c",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 335,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67693,
    "c": 0.1125,
    "h": 354
  },
  "luminance": 0.29054
}

Semantic roles & 50–950 ramp

primary
#CD799C
secondary
#C2E0D3
accent
#B97E2D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD799C

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

Preview Lab → · Contrast checker → · Palette generator →

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