#CD5474#CD5474

#CD5474 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.0% C 0.156 H 6.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD5474
RGBrgb(205, 84, 116)
HSLhsl(344, 55%, 57%)
HSVhsv(344, 59%, 80%)
CMYKcmyk(0%, 59%, 43.4%, 19.6%)
CIE-LABlab(52.49, 50.80, 6.65)
CIE-LCHlch(52.49, 51.23, 7.46°)
OKLaboklab(61.04% 0.1546 0.0176)
OKLCHoklch(61.04% 0.156 6.5)
XYZxyz(31.5017, 20.5843, 18.8338)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5474 #54CDAD
analogous
#CD54B1 #CD5474 #CD7154
triadic
#CD5474 #74CD54 #5474CD
tetradic
#CD5474 #B1CD54 #54CDAD #7154CD
square
#CD5474 #B1CD54 #54CDAD #7154CD
split-complementary
#CD5474 #54CD71 #54B1CD
monochromatic
#81263E #B03455 #CD5474 #DB839A #E9B3C1

Accessibility & contrast

On white

4.10
#CD5474 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD5474 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5474
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5474#FFFFFF#000000##000000
##CD54741.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6E75
Deuteranopia (green-blind)
#8C8671
Tritanopia (blue-blind)
#DE4660
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5474;
/* rgb */ color: rgb(205, 84, 116);
/* oklch */ color: oklch(61.0% 0.156 6.5);
Tailwind
colors: {
  custom: {
    50: '#e1899b',
    500: '#cd5474',
    950: '#000000',
  },
}
SCSS
$custom: #cd5474;
$custom-light: #e1899b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5474",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 344.132,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.1556,
    "h": 6.5
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#CD5474
secondary
#A6D7CA
accent
#DEB74A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5474

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

Preview Lab → · Contrast checker → · Palette generator →

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