#CD79B8#CD79B8

#CD79B8 is a light, vivid pink. Relative luminance 0.301; OKLCH L 68.7% C 0.131 H 336.8°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CD79B8
RGBrgb(205, 121, 184)
HSLhsl(315, 46%, 64%)
HSVhsv(315, 41%, 80%)
CMYKcmyk(0%, 41%, 10.2%, 19.6%)
CIE-LABlab(61.76, 41.61, -19.21)
CIE-LCHlch(61.76, 45.83, 335.21°)
OKLaboklab(68.69% 0.1205 -0.0515)
OKLCHoklch(68.69% 0.131 336.8)
XYZxyz(40.6659, 30.1169, 49.0093)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79B8 #79CD8E
analogous
#B879CD #CD79B8 #CD798E
triadic
#CD79B8 #B8CD79 #79B8CD
tetradic
#CD79B8 #CDB879 #79CD8E #798ECD
square
#CD79B8 #CDB879 #79CD8E #798ECD
split-complementary
#CD79B8 #8ECD79 #79CDB8
monochromatic
#94377D #BC4CA0 #CD79B8 #DEA6D0 #EED2E7

Accessibility & contrast

On white

2.99
#CD79B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CD79B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79B8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79B8#FFFFFF#000000##000000
##CD79B81.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DBA
Deuteranopia (green-blind)
#909AB6
Tritanopia (blue-blind)
#D57C90
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd79b8;
/* rgb */ color: rgb(205, 121, 184);
/* oklch */ color: oklch(68.7% 0.131 336.8);
Tailwind
colors: {
  custom: {
    50: '#dea1cd',
    500: '#cd79b8',
    950: '#000000',
  },
}
SCSS
$custom: #cd79b8;
$custom-light: #dea1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79b8",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 315,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.1311,
    "h": 336.8
  },
  "luminance": 0.30115
}

Semantic roles & 50–950 ramp

primary
#CD79B8
secondary
#C2E0CA
accent
#B9502D
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD79B8

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

Preview Lab → · Contrast checker → · Palette generator →

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