#CD5478#CD5478

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

Color values

HEX#CD5478
RGBrgb(205, 84, 120)
HSLhsl(342, 55%, 57%)
HSVhsv(342, 59%, 80%)
CMYKcmyk(0%, 59%, 41.5%, 19.6%)
CIE-LABlab(52.60, 51.21, 4.42)
CIE-LCHlch(52.60, 51.40, 4.93°)
OKLaboklab(61.15% 0.1561 0.012)
OKLCHoklch(61.15% 0.157 4.4)
XYZxyz(31.7394, 20.6794, 20.0857)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5478 #54CDA9
analogous
#CD54B5 #CD5478 #CD6D54
triadic
#CD5478 #78CD54 #5478CD
tetradic
#CD5478 #B5CD54 #54CDA9 #6D54CD
square
#CD5478 #B5CD54 #54CDA9 #6D54CD
split-complementary
#CD5478 #54CD6D #54B5CD
monochromatic
#812641 #B03459 #CD5478 #DB839D #E9B3C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5478#FFFFFF#000000##000000
##CD54781.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)
#6B6F79
Deuteranopia (green-blind)
#8B8675
Tritanopia (blue-blind)
#DD4762
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5478;
/* rgb */ color: rgb(205, 84, 120);
/* oklch */ color: oklch(61.2% 0.157 4.4);
Tailwind
colors: {
  custom: {
    50: '#e1899e',
    500: '#cd5478',
    950: '#000000',
  },
}
SCSS
$custom: #cd5478;
$custom-light: #e1899e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5478",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 342.149,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.15653,
    "h": 4.4
  },
  "luminance": 0.20676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5478

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

Preview Lab → · Contrast checker → · Palette generator →

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