#CD5079#CD5079

#CD5079 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.162 H 2.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CD5079
RGBrgb(205, 80, 121)
HSLhsl(340, 56%, 56%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 61%, 41%, 19.6%)
CIE-LABlab(51.95, 53.12, 2.89)
CIE-LCHlch(51.95, 53.20, 3.11°)
OKLaboklab(60.68% 0.1621 0.0081)
OKLCHoklch(60.68% 0.162 2.9)
XYZxyz(31.4987, 20.1005, 20.3065)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5079 #50CDA4
analogous
#CD50B7 #CD5079 #CD6550
triadic
#CD5079 #79CD50 #5079CD
tetradic
#CD5079 #B7CD50 #50CDA4 #6550CD
square
#CD5079 #B7CD50 #50CDA4 #6550CD
split-complementary
#CD5079 #50CD65 #50B7CD
monochromatic
#7E2442 #AE325B #CD5079 #DB809D #E8AFC2

Accessibility & contrast

On white

4.18
#CD5079 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CD5079 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5079
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5079#FFFFFF#000000##000000
##CD50791.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7A
Deuteranopia (green-blind)
#898576
Tritanopia (blue-blind)
#DD4260
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5079;
/* rgb */ color: rgb(205, 80, 121);
/* oklch */ color: oklch(60.7% 0.162 2.9);
Tailwind
colors: {
  custom: {
    50: '#e1879f',
    500: '#cd5079',
    950: '#000000',
  },
}
SCSS
$custom: #cd5079;
$custom-light: #e1879f;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5079",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 340.32,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.16229,
    "h": 2.9
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#CD5079
secondary
#A2D6C5
accent
#DFAE49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5079

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

Preview Lab → · Contrast checker → · Palette generator →

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