#CD5479#CD5479

#CD5479 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.2% C 0.157 H 3.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CD5479
RGBrgb(205, 84, 121)
HSLhsl(342, 55%, 57%)
HSVhsv(342, 59%, 80%)
CMYKcmyk(0%, 59%, 41%, 19.6%)
CIE-LABlab(52.62, 51.32, 3.86)
CIE-LCHlch(52.62, 51.46, 4.30°)
OKLaboklab(61.18% 0.1564 0.0106)
OKLCHoklch(61.18% 0.157 3.9)
XYZxyz(31.8004, 20.7038, 20.4070)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5479 #54CDA8
analogous
#CD54B6 #CD5479 #CD6C54
triadic
#CD5479 #79CD54 #5479CD
tetradic
#CD5479 #B6CD54 #54CDA8 #6C54CD
square
#CD5479 #B6CD54 #54CDA8 #6C54CD
split-complementary
#CD5479 #54CD6C #54B6CD
monochromatic
#812642 #B0345A #CD5479 #DB839E #E9B3C3

Accessibility & contrast

On white

4.09
#CD5479 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CD5479 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5479
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5479#FFFFFF#000000##000000
##CD54791.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6F7A
Deuteranopia (green-blind)
#8B8676
Tritanopia (blue-blind)
#DD4762
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5479;
/* rgb */ color: rgb(205, 84, 121);
/* oklch */ color: oklch(61.2% 0.157 3.9);
Tailwind
colors: {
  custom: {
    50: '#e0899f',
    500: '#cd5479',
    950: '#000000',
  },
}
SCSS
$custom: #cd5479;
$custom-light: #e0899f;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5479",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 121
  },
  "hsl": {
    "h": 341.653,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61181,
    "c": 0.15679,
    "h": 3.9
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#CD5479
secondary
#A6D7C8
accent
#DEB14A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5479

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

Preview Lab → · Contrast checker → · Palette generator →

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