#CD79A7#CD79A7

#CD79A7 is a light, moderate pink. Relative luminance 0.294; OKLCH L 68.1% C 0.119 H 346.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CD79A7
RGBrgb(205, 121, 167)
HSLhsl(327, 46%, 64%)
HSVhsv(327, 41%, 80%)
CMYKcmyk(0%, 41%, 18.5%, 19.6%)
CIE-LABlab(61.17, 38.87, -10.40)
CIE-LCHlch(61.17, 40.23, 345.02°)
OKLaboklab(68.06% 0.1155 -0.0273)
OKLCHoklch(68.06% 0.119 346.7)
XYZxyz(38.9898, 29.4465, 40.1818)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79A7 #79CD9F
analogous
#C979CD #CD79A7 #CD797D
triadic
#CD79A7 #A7CD79 #79A7CD
tetradic
#CD79A7 #CDC979 #79CD9F #797DCD
square
#CD79A7 #CDC979 #79CD9F #797DCD
split-complementary
#CD79A7 #7DCD79 #79CDC9
monochromatic
#94376A #BC4C8A #CD79A7 #DEA6C4 #EED2E2

Accessibility & contrast

On white

3.05
#CD79A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CD79A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD79A7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79A7#FFFFFF#000000##000000
##CD79A71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#808BA9
Deuteranopia (green-blind)
#9599A5
Tritanopia (blue-blind)
#D7788A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd79a7;
/* rgb */ color: rgb(205, 121, 167);
/* oklch */ color: oklch(68.1% 0.119 346.7);
Tailwind
colors: {
  custom: {
    50: '#dea1c1',
    500: '#cd79a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd79a7;
$custom-light: #dea1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79a7",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 167
  },
  "hsl": {
    "h": 327.143,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68064,
    "c": 0.1187,
    "h": 346.7
  },
  "luminance": 0.29444
}

Semantic roles & 50–950 ramp

primary
#CD79A7
secondary
#C2E0CF
accent
#B96C2D
background
#FDFAFB
surface
#FBF3F7
border
#D4CDD0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD79A7

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

Preview Lab → · Contrast checker → · Palette generator →

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