#CD799D#CD799D

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

Color values

HEX#CD799D
RGBrgb(205, 121, 157)
HSLhsl(334, 46%, 64%)
HSVhsv(334, 41%, 80%)
CMYKcmyk(0%, 41%, 23.4%, 19.6%)
CIE-LABlab(60.86, 37.37, -5.13)
CIE-LCHlch(60.86, 37.72, 352.18°)
OKLaboklab(67.73% 0.1122 -0.0131)
OKLCHoklch(67.73% 0.113 353.3)
XYZxyz(38.1009, 29.0909, 35.5001)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD799D #79CDA9
analogous
#CD79C7 #CD799D #CD7F79
triadic
#CD799D #9DCD79 #799DCD
tetradic
#CD799D #C7CD79 #79CDA9 #7F79CD
square
#CD799D #C7CD79 #79CDA9 #7F79CD
split-complementary
#CD799D #79CD7F #79C7CD
monochromatic
#94375F #BC4C7C #CD799D #DEA6BE #EED2DE

Accessibility & contrast

On white

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

On black

6.82
#CD799D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD799D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD799D#FFFFFF#000000##000000
##CD799D1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838A9E
Deuteranopia (green-blind)
#98989B
Tritanopia (blue-blind)
#D97686
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd799d;
/* rgb */ color: rgb(205, 121, 157);
/* oklch */ color: oklch(67.7% 0.113 353.3);
Tailwind
colors: {
  custom: {
    50: '#dea1b9',
    500: '#cd799d',
    950: '#000000',
  },
}
SCSS
$custom: #cd799d;
$custom-light: #dea1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd799d",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 334.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.11299,
    "h": 353.3
  },
  "luminance": 0.29088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD799D

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

Preview Lab → · Contrast checker → · Palette generator →

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