#CD4E8D#CD4E8D

#CD4E8D is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.173 H 352.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD4E8D
RGBrgb(205, 78, 141)
HSLhsl(330, 56%, 55%)
HSVhsv(330, 62%, 80%)
CMYKcmyk(0%, 62%, 31.2%, 19.6%)
CIE-LABlab(52.24, 56.27, -8.62)
CIE-LCHlch(52.24, 56.93, 351.29°)
OKLaboklab(61.09% 0.1713 -0.0221)
OKLCHoklch(61.09% 0.173 352.6)
XYZxyz(32.7105, 20.3544, 27.4003)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E8D #4ECD8E
analogous
#CD4ECD #CD4E8D #CD4E4E
triadic
#CD4E8D #8DCD4E #4E8DCD
tetradic
#CD4E8D #CDCD4E #4ECD8E #4E4ECD
square
#CD4E8D #CDCD4E #4ECD8E #4E4ECD
split-complementary
#CD4E8D #4ECD4E #4ECDCD
monochromatic
#7D2350 #AD316E #CD4E8D #DA7EAC #E8ADCA

Accessibility & contrast

On white

4.14
#CD4E8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD4E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E8D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E8D#FFFFFF#000000##000000
##CD4E8D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8F
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#DC4767
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4e8d;
/* rgb */ color: rgb(205, 78, 141);
/* oklch */ color: oklch(61.1% 0.173 352.6);
Tailwind
colors: {
  custom: {
    50: '#e086ae',
    500: '#cd4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e8d;
$custom-light: #e086ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e8d",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 330.236,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6109,
    "c": 0.17275,
    "h": 352.6
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#CD4E8D
secondary
#A1D6BC
accent
#DF9449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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