#CD4A7C#CD4A7C

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

Color values

HEX#CD4A7C
RGBrgb(205, 74, 124)
HSLhsl(337, 57%, 55%)
HSVhsv(337, 64%, 80%)
CMYKcmyk(0%, 63.9%, 39.5%, 19.6%)
CIE-LABlab(51.08, 56.03, -0.18)
CIE-LCHlch(51.08, 56.03, 359.82°)
OKLaboklab(60.06% 0.1713 0.0002)
OKLCHoklch(60.06% 0.171 0.1)
XYZxyz(31.2657, 19.3355, 21.1505)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A7C #4ACD9B
analogous
#CD4ABE #CD4A7C #CD594A
triadic
#CD4A7C #7CCD4A #4A7CCD
tetradic
#CD4A7C #BECD4A #4ACD9B #594ACD
square
#CD4A7C #BECD4A #4ACD9B #594ACD
split-complementary
#CD4A7C #4ACD59 #4ABECD
monochromatic
#7B2244 #AB2F5E #CD4A7C #DA7A9F #E7AAC1

Accessibility & contrast

On white

4.32
#CD4A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4A7C#FFFFFF#000000##000000
##CD4A7C1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#DD3C5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4a7c;
/* rgb */ color: rgb(205, 74, 124);
/* oklch */ color: oklch(60.1% 0.171 0.1);
Tailwind
colors: {
  custom: {
    50: '#e184a1',
    500: '#cd4a7c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a7c;
$custom-light: #e184a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a7c",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 337.099,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.17128,
    "h": 0.1
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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