#CD4C82#CD4C82

#CD4C82 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.171 H 357.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CD4C82
RGBrgb(205, 76, 130)
HSLhsl(335, 56%, 55%)
HSVhsv(335, 63%, 80%)
CMYKcmyk(0%, 62.9%, 36.6%, 19.6%)
CIE-LABlab(51.57, 55.84, -3.05)
CIE-LCHlch(51.57, 55.92, 356.87°)
OKLaboklab(60.48% 0.1706 -0.0073)
OKLCHoklch(60.48% 0.171 357.5)
XYZxyz(31.7924, 19.7633, 23.2552)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C82 #4CCD97
analogous
#CD4CC2 #CD4C82 #CD574C
triadic
#CD4C82 #82CD4C #4C82CD
tetradic
#CD4C82 #C2CD4C #4CCD97 #574CCD
square
#CD4C82 #C2CD4C #4CCD97 #574CCD
split-complementary
#CD4C82 #4CCD57 #4CC2CD
monochromatic
#7C2348 #AC3064 #CD4C82 #DA7CA3 #E8ACC5

Accessibility & contrast

On white

4.24
#CD4C82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD4C82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C82
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C82#FFFFFF#000000##000000
##CD4C821.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#626C84
Deuteranopia (green-blind)
#85847F
Tritanopia (blue-blind)
#DD4161
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4c82;
/* rgb */ color: rgb(205, 76, 130);
/* oklch */ color: oklch(60.5% 0.171 357.5);
Tailwind
colors: {
  custom: {
    50: '#e085a6',
    500: '#cd4c82',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c82;
$custom-light: #e085a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c82",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 334.884,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60481,
    "c": 0.17076,
    "h": 357.5
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#CD4C82
secondary
#9FD5BF
accent
#E0A048
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD4C82

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

Preview Lab → · Contrast checker → · Palette generator →

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