#CD4E8B#CD4E8B

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

Color values

HEX#CD4E8B
RGBrgb(205, 78, 139)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 62%, 32.2%, 19.6%)
CIE-LABlab(52.17, 56.03, -7.53)
CIE-LCHlch(52.17, 56.53, 352.35°)
OKLaboklab(61.02% 0.1707 -0.0192)
OKLCHoklch(61.02% 0.172 353.6)
XYZxyz(32.5631, 20.2954, 26.6236)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E8B #4ECD90
analogous
#CD4ECA #CD4E8B #CD504E
triadic
#CD4E8B #8BCD4E #4E8BCD
tetradic
#CD4E8B #CACD4E #4ECD90 #504ECD
square
#CD4E8B #CACD4E #4ECD90 #504ECD
split-complementary
#CD4E8B #4ECD50 #4ECACD
monochromatic
#7D234F #AD316C #CD4E8B #DA7EAA #E8ADCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4E8B#FFFFFF#000000##000000
##CD4E8B1.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)
#616E8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DC4666
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4e8b;
/* rgb */ color: rgb(205, 78, 139);
/* oklch */ color: oklch(61.0% 0.172 353.6);
Tailwind
colors: {
  custom: {
    50: '#e086ac',
    500: '#cd4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e8b;
$custom-light: #e086ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e8b",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 331.181,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6102,
    "c": 0.17181,
    "h": 353.6
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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