#CD4D7B#CD4D7B

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

Color values

HEX#CD4D7B
RGBrgb(205, 77, 123)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 62.4%, 40%, 19.6%)
CIE-LABlab(51.52, 54.64, 1.07)
CIE-LCHlch(51.52, 54.65, 1.12°)
OKLaboklab(60.38% 0.1669 0.0034)
OKLCHoklch(60.38% 0.167 1.2)
XYZxyz(31.4079, 19.7206, 20.8875)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D7B #4DCD9F
analogous
#CD4DBB #CD4D7B #CD5F4D
triadic
#CD4D7B #7BCD4D #4D7BCD
tetradic
#CD4D7B #BBCD4D #4DCD9F #5F4DCD
square
#CD4D7B #BBCD4D #4DCD9F #5F4DCD
split-complementary
#CD4D7B #4DCD5F #4DBBCD
monochromatic
#7D2343 #AC305D #CD4D7B #DA7D9E #E8ADC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4D7B#FFFFFF#000000##000000
##CD4D7B1.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)
#656B7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DD3F5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4d7b;
/* rgb */ color: rgb(205, 77, 123);
/* oklch */ color: oklch(60.4% 0.167 1.2);
Tailwind
colors: {
  custom: {
    50: '#e185a1',
    500: '#cd4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d7b;
$custom-light: #e185a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d7b",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 338.438,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.16696,
    "h": 1.2
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#CD4D7B
secondary
#A0D6C2
accent
#DFA948
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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