#CD79BA#CD79BA

#CD79BA is a light, vivid pink. Relative luminance 0.302; OKLCH L 68.8% C 0.133 H 335.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CD79BA
RGBrgb(205, 121, 186)
HSLhsl(314, 46%, 64%)
HSVhsv(314, 41%, 80%)
CMYKcmyk(0%, 41%, 9.3%, 19.6%)
CIE-LABlab(61.83, 41.95, -20.24)
CIE-LCHlch(61.83, 46.58, 334.24°)
OKLaboklab(68.77% 0.1211 -0.0544)
OKLCHoklch(68.77% 0.133 335.8)
XYZxyz(40.8771, 30.2014, 50.1212)
Luminance0.3020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79BA #79CD8C
analogous
#B679CD #CD79BA #CD7990
triadic
#CD79BA #BACD79 #79BACD
tetradic
#CD79BA #CDB679 #79CD8C #7990CD
square
#CD79BA #CDB679 #79CD8C #7990CD
split-complementary
#CD79BA #90CD79 #79CDB6
monochromatic
#94377F #BC4CA3 #CD79BA #DEA6D1 #EED2E8

Accessibility & contrast

On white

2.98
#CD79BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CD79BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79BA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79BA#FFFFFF#000000##000000
##CD79BA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBC
Deuteranopia (green-blind)
#909AB8
Tritanopia (blue-blind)
#D57C91
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd79ba;
/* rgb */ color: rgb(205, 121, 186);
/* oklch */ color: oklch(68.8% 0.133 335.8);
Tailwind
colors: {
  custom: {
    50: '#dea1ce',
    500: '#cd79ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd79ba;
$custom-light: #dea1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79ba",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 313.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68773,
    "c": 0.13274,
    "h": 335.8
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

primary
#CD79BA
secondary
#C2E0C9
accent
#B94C2D
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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