#CD4082#CD4082

#CD4082 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.186 H 355.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CD4082
RGBrgb(205, 64, 130)
HSLhsl(332, 59%, 53%)
HSVhsv(332, 69%, 80%)
CMYKcmyk(0%, 68.8%, 36.6%, 19.6%)
CIE-LABlab(49.81, 60.66, -5.65)
CIE-LCHlch(49.81, 60.92, 354.68°)
OKLaboklab(59.18% 0.1858 -0.0141)
OKLCHoklch(59.18% 0.186 355.7)
XYZxyz(31.0414, 18.2613, 23.0049)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4082 #40CD8B
analogous
#CD40C8 #CD4082 #CD4540
triadic
#CD4082 #82CD40 #4082CD
tetradic
#CD4082 #C8CD40 #40CD8B #4540CD
square
#CD4082 #C8CD40 #40CD8B #4540CD
split-complementary
#CD4082 #40CD45 #40C8CD
monochromatic
#741E47 #A52B64 #CD4082 #DA71A2 #E6A1C1

Accessibility & contrast

On white

4.51
#CD4082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CD4082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4082
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4082#FFFFFF#000000##000000
##CD40821.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6684
Deuteranopia (green-blind)
#80807F
Tritanopia (blue-blind)
#DD335C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd4082;
/* rgb */ color: rgb(205, 64, 130);
/* oklch */ color: oklch(59.2% 0.186 355.7);
Tailwind
colors: {
  custom: {
    50: '#e17fa6',
    500: '#cd4082',
    950: '#000000',
  },
}
SCSS
$custom: #cd4082;
$custom-light: #e17fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4082",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 331.915,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59182,
    "c": 0.18631,
    "h": 355.7
  },
  "luminance": 0.18258
}

Semantic roles & 50–950 ramp

primary
#CD4082
secondary
#96D3B6
accent
#E29946
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD4082

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

Preview Lab → · Contrast checker → · Palette generator →

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