#CD799F#CD799F

#CD799F is a light, moderate pink. Relative luminance 0.292; OKLCH L 67.8% C 0.114 H 352.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#CD799F
RGBrgb(205, 121, 159)
HSLhsl(333, 46%, 64%)
HSVhsv(333, 41%, 80%)
CMYKcmyk(0%, 41%, 22.4%, 19.6%)
CIE-LABlab(60.92, 37.66, -6.19)
CIE-LCHlch(60.92, 38.17, 350.67°)
OKLaboklab(67.79% 0.1129 -0.0159)
OKLCHoklch(67.79% 0.114 352)
XYZxyz(38.2730, 29.1598, 36.4067)
Luminance0.2916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD799F #79CDA7
analogous
#CD79C9 #CD799F #CD7D79
triadic
#CD799F #9FCD79 #799FCD
tetradic
#CD799F #C9CD79 #79CDA7 #7D79CD
square
#CD799F #C9CD79 #79CDA7 #7D79CD
split-complementary
#CD799F #79CD7D #79C9CD
monochromatic
#943761 #BC4C7F #CD799F #DEA6BF #EED2DF

Accessibility & contrast

On white

3.07
#CD799F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#CD799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD799F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD799F#FFFFFF#000000##000000
##CD799F1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#828AA0
Deuteranopia (green-blind)
#97989D
Tritanopia (blue-blind)
#D87687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd799f;
/* rgb */ color: rgb(205, 121, 159);
/* oklch */ color: oklch(67.8% 0.114 352.0);
Tailwind
colors: {
  custom: {
    50: '#dea1bb',
    500: '#cd799f',
    950: '#000000',
  },
}
SCSS
$custom: #cd799f;
$custom-light: #dea1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd799f",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 332.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67791,
    "c": 0.11403,
    "h": 352
  },
  "luminance": 0.29157
}

Semantic roles & 50–950 ramp

primary
#CD799F
secondary
#C2E0D2
accent
#B9792D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD799F

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

Preview Lab → · Contrast checker → · Palette generator →

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