#CD79B4#CD79B4

#CD79B4 is a light, vivid pink. Relative luminance 0.299; OKLCH L 68.5% C 0.128 H 339.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD79B4
RGBrgb(205, 121, 180)
HSLhsl(318, 46%, 64%)
HSVhsv(318, 41%, 80%)
CMYKcmyk(0%, 41%, 12.2%, 19.6%)
CIE-LABlab(61.61, 40.95, -17.16)
CIE-LCHlch(61.61, 44.39, 337.27°)
OKLaboklab(68.54% 0.1194 -0.0458)
OKLCHoklch(68.54% 0.128 339)
XYZxyz(40.2526, 29.9516, 46.8322)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79B4 #79CD92
analogous
#BC79CD #CD79B4 #CD798A
triadic
#CD79B4 #B4CD79 #79B4CD
tetradic
#CD79B4 #CDBC79 #79CD92 #798ACD
square
#CD79B4 #CDBC79 #79CD92 #798ACD
split-complementary
#CD79B4 #8ACD79 #79CDBC
monochromatic
#943779 #BC4C9B #CD79B4 #DEA6CD #EED2E6

Accessibility & contrast

On white

3.00
#CD79B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CD79B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD79B4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79B4#FFFFFF#000000##000000
##CD79B41.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB6
Deuteranopia (green-blind)
#919AB2
Tritanopia (blue-blind)
#D67B8F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd79b4;
/* rgb */ color: rgb(205, 121, 180);
/* oklch */ color: oklch(68.5% 0.128 339.0);
Tailwind
colors: {
  custom: {
    50: '#dea1ca',
    500: '#cd79b4',
    950: '#000000',
  },
}
SCSS
$custom: #cd79b4;
$custom-light: #dea1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79b4",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 180
  },
  "hsl": {
    "h": 317.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6854,
    "c": 0.12793,
    "h": 339
  },
  "luminance": 0.29949
}

Semantic roles & 50–950 ramp

primary
#CD79B4
secondary
#C2E0CB
accent
#B9562D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD79B4

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

Preview Lab → · Contrast checker → · Palette generator →

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