#CD4087#CD4087

#CD4087 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.4% C 0.188 H 353.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CD4087
RGBrgb(205, 64, 135)
HSLhsl(330, 59%, 53%)
HSVhsv(330, 69%, 80%)
CMYKcmyk(0%, 68.8%, 34.1%, 19.6%)
CIE-LABlab(49.98, 61.21, -8.41)
CIE-LCHlch(49.98, 61.79, 352.17°)
OKLaboklab(59.36% 0.1872 -0.0215)
OKLCHoklch(59.36% 0.188 353.4)
XYZxyz(31.3852, 18.3988, 24.8155)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4087 #40CD86
analogous
#CC40CD #CD4087 #CD4041
triadic
#CD4087 #87CD40 #4087CD
tetradic
#CD4087 #CDCC40 #40CD86 #4041CD
square
#CD4087 #CDCC40 #40CD86 #4041CD
split-complementary
#CD4087 #41CD40 #40CDCC
monochromatic
#741E4A #A52B68 #CD4087 #DA71A5 #E6A1C4

Accessibility & contrast

On white

4.49
#CD4087 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CD4087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4087
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4087#FFFFFF#000000##000000
##CD40871.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#586789
Deuteranopia (green-blind)
#7F8084
Tritanopia (blue-blind)
#DC355E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd4087;
/* rgb */ color: rgb(205, 64, 135);
/* oklch */ color: oklch(59.4% 0.188 353.4);
Tailwind
colors: {
  custom: {
    50: '#e17faa',
    500: '#cd4087',
    950: '#000000',
  },
}
SCSS
$custom: #cd4087;
$custom-light: #e17faa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4087",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 329.787,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.18847,
    "h": 353.4
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#CD4087
secondary
#96D3B4
accent
#E29346
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4087

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

Preview Lab → · Contrast checker → · Palette generator →

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