#CD4B7E#CD4B7E

#CD4B7E is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.171 H 359.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD4B7E
RGBrgb(205, 75, 126)
HSLhsl(336, 57%, 55%)
HSVhsv(336, 63%, 80%)
CMYKcmyk(0%, 63.4%, 38.5%, 19.6%)
CIE-LABlab(51.29, 55.82, -1.06)
CIE-LCHlch(51.29, 55.83, 358.91°)
OKLaboklab(60.24% 0.1706 -0.0021)
OKLCHoklch(60.24% 0.171 359.3)
XYZxyz(31.4608, 19.5212, 21.8458)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4B7E #4BCD9A
analogous
#CD4BBF #CD4B7E #CD594B
triadic
#CD4B7E #7ECD4B #4B7ECD
tetradic
#CD4B7E #BFCD4B #4BCD9A #594BCD
square
#CD4B7E #BFCD4B #4BCD9A #594BCD
split-complementary
#CD4B7E #4BCD59 #4BBFCD
monochromatic
#7B2245 #AB3060 #CD4B7E #DA7BA0 #E8ABC3

Accessibility & contrast

On white

4.28
#CD4B7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD4B7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4B7E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4B7E#FFFFFF#000000##000000
##CD4B7E1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#86837B
Tritanopia (blue-blind)
#DD3E5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4b7e;
/* rgb */ color: rgb(205, 75, 126);
/* oklch */ color: oklch(60.2% 0.171 359.3);
Tailwind
colors: {
  custom: {
    50: '#e184a3',
    500: '#cd4b7e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4b7e;
$custom-light: #e184a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4b7e",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 126
  },
  "hsl": {
    "h": 336.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.17064,
    "h": 359.3
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#CD4B7E
secondary
#9FD5C0
accent
#E0A448
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD4B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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