#CD4A7A#CD4A7A

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

Color values

HEX#CD4A7A
RGBrgb(205, 74, 122)
HSLhsl(338, 57%, 55%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 63.9%, 40.5%, 19.6%)
CIE-LABlab(51.02, 55.82, 0.94)
CIE-LCHlch(51.02, 55.82, 0.96°)
OKLaboklab(60% 0.1706 0.0031)
OKLCHoklch(60% 0.171 1)
XYZxyz(31.1405, 19.2855, 20.4911)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A7A #4ACD9D
analogous
#CD4ABC #CD4A7A #CD5B4A
triadic
#CD4A7A #7ACD4A #4A7ACD
tetradic
#CD4A7A #BCCD4A #4ACD9D #5B4ACD
square
#CD4A7A #BCCD4A #4ACD9D #5B4ACD
split-complementary
#CD4A7A #4ACD5B #4ABCCD
monochromatic
#7B2242 #AB2F5C #CD4A7A #DA7A9D #E7AAC0

Accessibility & contrast

On white

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

On black

4.86
#CD4A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A7A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A7A#FFFFFF#000000##000000
##CD4A7A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7B
Deuteranopia (green-blind)
#868377
Tritanopia (blue-blind)
#DD3C5D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4a7a;
/* rgb */ color: rgb(205, 74, 122);
/* oklch */ color: oklch(60.0% 0.171 1.0);
Tailwind
colors: {
  custom: {
    50: '#e184a0',
    500: '#cd4a7a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a7a;
$custom-light: #e184a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a7a",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 338.015,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.17063,
    "h": 1
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#CD4A7A
secondary
#9ED5C1
accent
#E0A848
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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