#CD4A8D#CD4A8D

#CD4A8D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.178 H 352.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD4A8D
RGBrgb(205, 74, 141)
HSLhsl(329, 57%, 55%)
HSVhsv(329, 64%, 80%)
CMYKcmyk(0%, 63.9%, 31.2%, 19.6%)
CIE-LABlab(51.61, 57.97, -9.55)
CIE-LCHlch(51.61, 58.75, 350.64°)
OKLaboklab(60.63% 0.1766 -0.0246)
OKLCHoklch(60.63% 0.178 352.1)
XYZxyz(32.4350, 19.8032, 27.3084)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A8D #4ACD8A
analogous
#CC4ACD #CD4A8D #CD4A4C
triadic
#CD4A8D #8DCD4A #4A8DCD
tetradic
#CD4A8D #CDCC4A #4ACD8A #4A4CCD
square
#CD4A8D #CDCC4A #4ACD8A #4A4CCD
split-complementary
#CD4A8D #4CCD4A #4ACDCC
monochromatic
#7B224F #AB2F6E #CD4A8D #DA7AAB #E7AAC9

Accessibility & contrast

On white

4.23
#CD4A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD4A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A8D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A8D#FFFFFF#000000##000000
##CD4A8D1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#82848A
Tritanopia (blue-blind)
#DC4265
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4a8d;
/* rgb */ color: rgb(205, 74, 141);
/* oklch */ color: oklch(60.6% 0.178 352.1);
Tailwind
colors: {
  custom: {
    50: '#e084ae',
    500: '#cd4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a8d;
$custom-light: #e084ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a8d",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 329.313,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.1783,
    "h": 352.1
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#CD4A8D
secondary
#9ED5B9
accent
#E09248
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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