#CD79B2#CD79B2

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

Color values

HEX#CD79B2
RGBrgb(205, 121, 178)
HSLhsl(319, 46%, 64%)
HSVhsv(319, 41%, 80%)
CMYKcmyk(0%, 41%, 13.2%, 19.6%)
CIE-LABlab(61.54, 40.62, -16.12)
CIE-LCHlch(61.54, 43.70, 338.35°)
OKLaboklab(68.46% 0.1189 -0.043)
OKLCHoklch(68.46% 0.126 340.1)
XYZxyz(40.0503, 29.8707, 45.7669)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79B2 #79CD94
analogous
#BE79CD #CD79B2 #CD7988
triadic
#CD79B2 #B2CD79 #79B2CD
tetradic
#CD79B2 #CDBE79 #79CD94 #7988CD
square
#CD79B2 #CDBE79 #79CD94 #7988CD
split-complementary
#CD79B2 #88CD79 #79CDBE
monochromatic
#943776 #BC4C98 #CD79B2 #DEA6CC #EED2E5

Accessibility & contrast

On white

3.01
#CD79B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CD79B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD79B2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79B2#FFFFFF#000000##000000
##CD79B21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB4
Deuteranopia (green-blind)
#9299B0
Tritanopia (blue-blind)
#D67A8E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd79b2;
/* rgb */ color: rgb(205, 121, 178);
/* oklch */ color: oklch(68.5% 0.126 340.1);
Tailwind
colors: {
  custom: {
    50: '#dea1c9',
    500: '#cd79b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd79b2;
$custom-light: #dea1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79b2",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 319.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68464,
    "c": 0.12638,
    "h": 340.1
  },
  "luminance": 0.29868
}

Semantic roles & 50–950 ramp

primary
#CD79B2
secondary
#C2E0CC
accent
#B95A2D
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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