#CD79A2#CD79A2

#CD79A2 is a light, moderate pink. Relative luminance 0.293; OKLCH L 67.9% C 0.116 H 350.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#CD79A2
RGBrgb(205, 121, 162)
HSLhsl(331, 46%, 64%)
HSVhsv(331, 41%, 80%)
CMYKcmyk(0%, 41%, 21%, 19.6%)
CIE-LABlab(61.01, 38.11, -7.77)
CIE-LCHlch(61.01, 38.89, 348.47°)
OKLaboklab(67.89% 0.1139 -0.0202)
OKLCHoklch(67.89% 0.116 350)
XYZxyz(38.5365, 29.2651, 37.7944)
Luminance0.2926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79A2 #79CDA4
analogous
#CD79CC #CD79A2 #CD7A79
triadic
#CD79A2 #A2CD79 #79A2CD
tetradic
#CD79A2 #CCCD79 #79CDA4 #7A79CD
square
#CD79A2 #CCCD79 #79CDA4 #7A79CD
split-complementary
#CD79A2 #79CD7A #79CCCD
monochromatic
#943765 #BC4C83 #CD79A2 #DEA6C1 #EED2E0

Accessibility & contrast

On white

3.06
#CD79A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#CD79A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD79A2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79A2#FFFFFF#000000##000000
##CD79A21.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA3
Deuteranopia (green-blind)
#9699A0
Tritanopia (blue-blind)
#D87788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd79a2;
/* rgb */ color: rgb(205, 121, 162);
/* oklch */ color: oklch(67.9% 0.116 350.0);
Tailwind
colors: {
  custom: {
    50: '#dea1bd',
    500: '#cd79a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd79a2;
$custom-light: #dea1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79a2",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 330.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67892,
    "c": 0.11568,
    "h": 350
  },
  "luminance": 0.29263
}

Semantic roles & 50–950 ramp

primary
#CD79A2
secondary
#C2E0D1
accent
#B9742D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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