#CD4D9B#CD4D9B

#CD4D9B is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.182 H 346.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CD4D9B
RGBrgb(205, 77, 155)
HSLhsl(323, 56%, 55%)
HSVhsv(323, 62%, 80%)
CMYKcmyk(0%, 62.4%, 24.4%, 19.6%)
CIE-LABlab(52.57, 58.49, -16.41)
CIE-LCHlch(52.57, 60.75, 344.33°)
OKLaboklab(61.5% 0.1764 -0.0434)
OKLCHoklch(61.5% 0.182 346.2)
XYZxyz(33.7483, 20.6567, 33.2138)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D9B #4DCD7F
analogous
#BF4DCD #CD4D9B #CD4D5B
triadic
#CD4D9B #9BCD4D #4D9BCD
tetradic
#CD4D9B #CDBF4D #4DCD7F #4D5BCD
square
#CD4D9B #CDBF4D #4DCD7F #4D5BCD
split-complementary
#CD4D9B #5BCD4D #4DCDBF
monochromatic
#7D235A #AC307C #CD4D9B #DA7DB6 #E8ADD1

Accessibility & contrast

On white

4.09
#CD4D9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CD4D9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D9B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D9B#FFFFFF#000000##000000
##CD4D9B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B709D
Deuteranopia (green-blind)
#7F8598
Tritanopia (blue-blind)
#DA4B6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4d9b;
/* rgb */ color: rgb(205, 77, 155);
/* oklch */ color: oklch(61.5% 0.182 346.2);
Tailwind
colors: {
  custom: {
    50: '#e086b8',
    500: '#cd4d9b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d9b;
$custom-light: #e086b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d9b",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 323.438,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.18167,
    "h": 346.2
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#CD4D9B
secondary
#A0D6B5
accent
#DF8348
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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