#CD4E9B#CD4E9B

#CD4E9B is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.180 H 346.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD4E9B
RGBrgb(205, 78, 155)
HSLhsl(324, 56%, 55%)
HSVhsv(324, 62%, 80%)
CMYKcmyk(0%, 62%, 24.4%, 19.6%)
CIE-LABlab(52.73, 58.07, -16.17)
CIE-LCHlch(52.73, 60.27, 344.44°)
OKLaboklab(61.61% 0.1751 -0.0427)
OKLCHoklch(61.61% 0.18 346.3)
XYZxyz(33.8188, 20.7977, 33.2373)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E9B #4ECD80
analogous
#BF4ECD #CD4E9B #CD4E5B
triadic
#CD4E9B #9BCD4E #4E9BCD
tetradic
#CD4E9B #CDBF4E #4ECD80 #4E5BCD
square
#CD4E9B #CDBF4E #4ECD80 #4E5BCD
split-complementary
#CD4E9B #5BCD4E #4ECDBF
monochromatic
#7D235A #AD317C #CD4E9B #DA7EB6 #E8ADD1

Accessibility & contrast

On white

4.07
#CD4E9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD4E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E9B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E9B#FFFFFF#000000##000000
##CD4E9B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C709D
Deuteranopia (green-blind)
#808698
Tritanopia (blue-blind)
#DA4C6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4e9b;
/* rgb */ color: rgb(205, 78, 155);
/* oklch */ color: oklch(61.6% 0.180 346.3);
Tailwind
colors: {
  custom: {
    50: '#e087b8',
    500: '#cd4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e9b;
$custom-light: #e087b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e9b",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 323.622,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.18026,
    "h": 346.3
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#CD4E9B
secondary
#A1D6B6
accent
#DF8449
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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