#CD4E8C#CD4E8C

#CD4E8C is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.172 H 353.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD4E8C
RGBrgb(205, 78, 140)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 62%, 31.7%, 19.6%)
CIE-LABlab(52.20, 56.15, -8.08)
CIE-LCHlch(52.20, 56.73, 351.82°)
OKLaboklab(61.06% 0.171 -0.0207)
OKLCHoklch(61.06% 0.172 353.1)
XYZxyz(32.6365, 20.3248, 27.0102)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E8C #4ECD8F
analogous
#CD4ECB #CD4E8C #CD504E
triadic
#CD4E8C #8CCD4E #4E8CCD
tetradic
#CD4E8C #CBCD4E #4ECD8F #504ECD
square
#CD4E8C #CBCD4E #4ECD8F #504ECD
split-complementary
#CD4E8C #4ECD50 #4ECBCD
monochromatic
#7D234F #AD316D #CD4E8C #DA7EAB #E8ADCA

Accessibility & contrast

On white

4.15
#CD4E8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD4E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E8C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E8C#FFFFFF#000000##000000
##CD4E8C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8E
Deuteranopia (green-blind)
#848589
Tritanopia (blue-blind)
#DC4667
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4e8c;
/* rgb */ color: rgb(205, 78, 140);
/* oklch */ color: oklch(61.1% 0.172 353.1);
Tailwind
colors: {
  custom: {
    50: '#e086ad',
    500: '#cd4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e8c;
$custom-light: #e086ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e8c",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 330.709,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.17228,
    "h": 353.1
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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