#D45787#D45787

#D45787 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.0% C 0.164 H 358.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D45787
RGBrgb(212, 87, 135)
HSLhsl(337, 59%, 59%)
HSVhsv(337, 59%, 83%)
CMYKcmyk(0%, 59%, 36.3%, 16.9%)
CIE-LABlab(54.62, 53.75, -1.41)
CIE-LCHlch(54.62, 53.77, 358.50°)
OKLaboklab(63.02% 0.164 -0.003)
OKLCHoklch(63.02% 0.164 358.9)
XYZxyz(34.9347, 22.5664, 25.4330)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45787 #57D4A4
analogous
#D457C5 #D45787 #D46557
triadic
#D45787 #87D457 #5787D4
tetradic
#D45787 #C5D457 #57D4A4 #6557D4
square
#D45787 #C5D457 #57D4A4 #6557D4
split-complementary
#D45787 #57D465 #57C5D4
monochromatic
#8D244C #BD3067 #D45787 #E088AA #EDB8CD

Accessibility & contrast

On white

3.81
#D45787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D45787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45787
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45787#FFFFFF#000000##000000
##D457871.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7488
Deuteranopia (green-blind)
#8E8B84
Tritanopia (blue-blind)
#E44C69
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d45787;
/* rgb */ color: rgb(212, 87, 135);
/* oklch */ color: oklch(63.0% 0.164 358.9);
Tailwind
colors: {
  custom: {
    50: '#e58ca9',
    500: '#d45787',
    950: '#000000',
  },
}
SCSS
$custom: #d45787;
$custom-light: #e58ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45787",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 336.96,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.16398,
    "h": 358.9
  },
  "luminance": 0.22563
}

Semantic roles & 50–950 ramp

primary
#D45787
secondary
#ABDCC9
accent
#E2A645
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D45787

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

Preview Lab → · Contrast checker → · Palette generator →

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