#CD79A8#CD79A8

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

Color values

HEX#CD79A8
RGBrgb(205, 121, 168)
HSLhsl(326, 46%, 64%)
HSVhsv(326, 41%, 80%)
CMYKcmyk(0%, 41%, 18%, 19.6%)
CIE-LABlab(61.21, 39.02, -10.92)
CIE-LCHlch(61.21, 40.52, 344.36°)
OKLaboklab(68.1% 0.1158 -0.0287)
OKLCHoklch(68.1% 0.119 346.1)
XYZxyz(39.0826, 29.4836, 40.6706)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79A8 #79CD9E
analogous
#C879CD #CD79A8 #CD797E
triadic
#CD79A8 #A8CD79 #79A8CD
tetradic
#CD79A8 #CDC879 #79CD9E #797ECD
square
#CD79A8 #CDC879 #79CD9E #797ECD
split-complementary
#CD79A8 #7ECD79 #79CDC8
monochromatic
#94376B #BC4C8B #CD79A8 #DEA6C5 #EED2E2

Accessibility & contrast

On white

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

On black

6.90
#CD79A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD79A8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79A8#FFFFFF#000000##000000
##CD79A81.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BAA
Deuteranopia (green-blind)
#9599A6
Tritanopia (blue-blind)
#D7788A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd79a8;
/* rgb */ color: rgb(205, 121, 168);
/* oklch */ color: oklch(68.1% 0.119 346.1);
Tailwind
colors: {
  custom: {
    50: '#dea1c1',
    500: '#cd79a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd79a8;
$custom-light: #dea1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79a8",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 168
  },
  "hsl": {
    "h": 326.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68099,
    "c": 0.11934,
    "h": 346.1
  },
  "luminance": 0.29481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD79A8

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

Preview Lab → · Contrast checker → · Palette generator →

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