#CD4D7A#CD4D7A

#CD4D7A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.3% C 0.167 H 1.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CD4D7A
RGBrgb(205, 77, 122)
HSLhsl(339, 56%, 55%)
HSVhsv(339, 62%, 80%)
CMYKcmyk(0%, 62.4%, 40.5%, 19.6%)
CIE-LABlab(51.49, 54.54, 1.62)
CIE-LCHlch(51.49, 54.56, 1.71°)
OKLaboklab(60.35% 0.1666 0.0049)
OKLCHoklch(60.35% 0.167 1.7)
XYZxyz(31.3456, 19.6956, 20.5595)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D7A #4DCDA0
analogous
#CD4DBA #CD4D7A #CD604D
triadic
#CD4D7A #7ACD4D #4D7ACD
tetradic
#CD4D7A #BACD4D #4DCDA0 #604DCD
square
#CD4D7A #BACD4D #4DCDA0 #604DCD
split-complementary
#CD4D7A #4DCD60 #4DBACD
monochromatic
#7D2343 #AC305C #CD4D7A #DA7D9E #E8ADC1

Accessibility & contrast

On white

4.25
#CD4D7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CD4D7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D7A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D7A#FFFFFF#000000##000000
##CD4D7A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7B
Deuteranopia (green-blind)
#878477
Tritanopia (blue-blind)
#DD3F5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4d7a;
/* rgb */ color: rgb(205, 77, 122);
/* oklch */ color: oklch(60.3% 0.167 1.7);
Tailwind
colors: {
  custom: {
    50: '#e185a0',
    500: '#cd4d7a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d7a;
$custom-light: #e185a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d7a",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 338.906,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.16664,
    "h": 1.7
  },
  "luminance": 0.19692
}

Semantic roles & 50–950 ramp

primary
#CD4D7A
secondary
#A0D6C3
accent
#DFAA48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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