#CD4D8E#CD4D8E

#CD4D8E is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.175 H 352.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CD4D8E
RGBrgb(205, 77, 142)
HSLhsl(330, 56%, 55%)
HSVhsv(330, 62%, 80%)
CMYKcmyk(0%, 62.4%, 30.7%, 19.6%)
CIE-LABlab(52.11, 56.82, -9.40)
CIE-LCHlch(52.11, 57.60, 350.61°)
OKLaboklab(61.01% 0.173 -0.0242)
OKLCHoklch(61.01% 0.175 352)
XYZxyz(32.7148, 20.2433, 27.7704)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D8E #4DCD8C
analogous
#CC4DCD #CD4D8E #CD4D4E
triadic
#CD4D8E #8ECD4D #4D8ECD
tetradic
#CD4D8E #CDCC4D #4DCD8C #4D4ECD
square
#CD4D8E #CDCC4D #4DCD8C #4D4ECD
split-complementary
#CD4D8E #4ECD4D #4DCDCC
monochromatic
#7D2351 #AC306F #CD4D8E #DA7DAC #E8ADCB

Accessibility & contrast

On white

4.16
#CD4D8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CD4D8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D8E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D8E#FFFFFF#000000##000000
##CD4D8E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E90
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#DC4667
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4d8e;
/* rgb */ color: rgb(205, 77, 142);
/* oklch */ color: oklch(61.0% 0.175 352.0);
Tailwind
colors: {
  custom: {
    50: '#e086af',
    500: '#cd4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d8e;
$custom-light: #e086af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d8e",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 329.531,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.17464,
    "h": 352
  },
  "luminance": 0.2024
}

Semantic roles & 50–950 ramp

primary
#CD4D8E
secondary
#A0D6BA
accent
#DF9348
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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