#CD799E#CD799E

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

Color values

HEX#CD799E
RGBrgb(205, 121, 158)
HSLhsl(334, 46%, 64%)
HSVhsv(334, 41%, 80%)
CMYKcmyk(0%, 41%, 22.9%, 19.6%)
CIE-LABlab(60.89, 37.51, -5.66)
CIE-LCHlch(60.89, 37.94, 351.42°)
OKLaboklab(67.76% 0.1126 -0.0145)
OKLCHoklch(67.76% 0.114 352.7)
XYZxyz(38.1866, 29.1252, 35.9516)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD799E #79CDA8
analogous
#CD79C8 #CD799E #CD7E79
triadic
#CD799E #9ECD79 #799ECD
tetradic
#CD799E #C8CD79 #79CDA8 #7E79CD
square
#CD799E #C8CD79 #79CDA8 #7E79CD
split-complementary
#CD799E #79CD7E #79C8CD
monochromatic
#943760 #BC4C7E #CD799E #DEA6BE #EED2DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD799E#FFFFFF#000000##000000
##CD799E1.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)
#828A9F
Deuteranopia (green-blind)
#97989C
Tritanopia (blue-blind)
#D97686
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd799e;
/* rgb */ color: rgb(205, 121, 158);
/* oklch */ color: oklch(67.8% 0.114 352.7);
Tailwind
colors: {
  custom: {
    50: '#dea1ba',
    500: '#cd799e',
    950: '#000000',
  },
}
SCSS
$custom: #cd799e;
$custom-light: #dea1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd799e",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 333.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67758,
    "c": 0.1135,
    "h": 352.7
  },
  "luminance": 0.29123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD799E

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

Preview Lab → · Contrast checker → · Palette generator →

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