#CD4A7D#CD4A7D

#CD4A7D is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.172 H 359.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CD4A7D
RGBrgb(205, 74, 125)
HSLhsl(337, 57%, 55%)
HSVhsv(337, 64%, 80%)
CMYKcmyk(0%, 63.9%, 39%, 19.6%)
CIE-LABlab(51.11, 56.13, -0.74)
CIE-LCHlch(51.11, 56.14, 359.25°)
OKLaboklab(60.09% 0.1716 -0.0012)
OKLCHoklch(60.09% 0.172 359.6)
XYZxyz(31.3293, 19.3610, 21.4852)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A7D #4ACD9A
analogous
#CD4ABF #CD4A7D #CD584A
triadic
#CD4A7D #7DCD4A #4A7DCD
tetradic
#CD4A7D #BFCD4A #4ACD9A #584ACD
square
#CD4A7D #BFCD4A #4ACD9A #584ACD
split-complementary
#CD4A7D #4ACD58 #4ABFCD
monochromatic
#7B2244 #AB2F5F #CD4A7D #DA7A9F #E7AAC2

Accessibility & contrast

On white

4.31
#CD4A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CD4A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A7D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A7D#FFFFFF#000000##000000
##CD4A7D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A7E
Deuteranopia (green-blind)
#85837A
Tritanopia (blue-blind)
#DD3D5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4a7d;
/* rgb */ color: rgb(205, 74, 125);
/* oklch */ color: oklch(60.1% 0.172 359.6);
Tailwind
colors: {
  custom: {
    50: '#e184a2',
    500: '#cd4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a7d;
$custom-light: #e184a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a7d",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 336.641,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.17162,
    "h": 359.6
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#CD4A7D
secondary
#9ED5C0
accent
#E0A548
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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