#CD5978#CD5978

#CD5978 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.8% C 0.150 H 5.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CD5978
RGBrgb(205, 89, 120)
HSLhsl(344, 54%, 58%)
HSVhsv(344, 57%, 80%)
CMYKcmyk(0%, 56.6%, 41.5%, 19.6%)
CIE-LABlab(53.47, 48.89, 5.68)
CIE-LCHlch(53.47, 49.22, 6.63°)
OKLaboklab(61.81% 0.1488 0.0152)
OKLCHoklch(61.81% 0.15 5.8)
XYZxyz(32.1414, 21.4835, 20.2197)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5978 #59CDAE
analogous
#CD59B2 #CD5978 #CD7459
triadic
#CD5978 #78CD59 #5978CD
tetradic
#CD5978 #B2CD59 #59CDAE #7459CD
square
#CD5978 #B2CD59 #59CDAE #7459CD
split-complementary
#CD5978 #59CD74 #59B2CD
monochromatic
#842840 #B33657 #CD5978 #DB889E #E9B7C4

Accessibility & contrast

On white

3.97
#CD5978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CD5978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5978
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5978#FFFFFF#000000##000000
##CD59781.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7279
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#DD4C65
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5978;
/* rgb */ color: rgb(205, 89, 120);
/* oklch */ color: oklch(61.8% 0.150 5.8);
Tailwind
colors: {
  custom: {
    50: '#e08c9e',
    500: '#cd5978',
    950: '#000000',
  },
}
SCSS
$custom: #cd5978;
$custom-light: #e08c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5978",
  "rgb": {
    "r": 205,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 343.966,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6181,
    "c": 0.14954,
    "h": 5.8
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#CD5978
secondary
#AAD8CC
accent
#DDB64B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5978

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

Preview Lab → · Contrast checker → · Palette generator →

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