#CD4D7D#CD4D7D

#CD4D7D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.168 H 0.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CD4D7D
RGBrgb(205, 77, 125)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 62.4%, 39%, 19.6%)
CIE-LABlab(51.58, 54.86, -0.05)
CIE-LCHlch(51.58, 54.86, 359.95°)
OKLaboklab(60.44% 0.1676 0.0005)
OKLCHoklch(60.44% 0.168 0.2)
XYZxyz(31.5344, 19.7711, 21.5536)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D7D #4DCD9D
analogous
#CD4DBD #CD4D7D #CD5D4D
triadic
#CD4D7D #7DCD4D #4D7DCD
tetradic
#CD4D7D #BDCD4D #4DCD9D #5D4DCD
square
#CD4D7D #BDCD4D #4DCD9D #5D4DCD
split-complementary
#CD4D7D #4DCD5D #4DBDCD
monochromatic
#7D2345 #AC305F #CD4D7D #DA7DA0 #E8ADC3

Accessibility & contrast

On white

4.24
#CD4D7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD4D7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D7D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D7D#FFFFFF#000000##000000
##CD4D7D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DD4060
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4d7d;
/* rgb */ color: rgb(205, 77, 125);
/* oklch */ color: oklch(60.4% 0.168 0.2);
Tailwind
colors: {
  custom: {
    50: '#e185a2',
    500: '#cd4d7d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d7d;
$custom-light: #e185a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d7d",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 337.5,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.1676,
    "h": 0.2
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#CD4D7D
secondary
#A0D6C2
accent
#DFA748
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD4D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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