#D45F87#D45F87

#D45F87 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.1% C 0.152 H 0.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D45F87
RGBrgb(212, 95, 135)
HSLhsl(339, 58%, 60%)
HSVhsv(339, 55%, 83%)
CMYKcmyk(0%, 55.2%, 36.3%, 16.9%)
CIE-LABlab(56.02, 50.04, 0.64)
CIE-LCHlch(56.02, 50.05, 0.73°)
OKLaboklab(64.06% 0.1524 0.0023)
OKLCHoklch(64.06% 0.152 0.9)
XYZxyz(35.6187, 23.9344, 25.6609)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F87 #5FD4AC
analogous
#D45FC1 #D45F87 #D4715F
triadic
#D45F87 #87D45F #5F87D4
tetradic
#D45F87 #C1D45F #5FD4AC #715FD4
square
#D45F87 #C1D45F #5FD4AC #715FD4
split-complementary
#D45F87 #5FD471 #5FC1D4
monochromatic
#91274B #C23464 #D45F87 #E18FAB #EEBFCF

Accessibility & contrast

On white

3.63
#D45F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D45F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F87
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F87#FFFFFF#000000##000000
##D45F871.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#737888
Deuteranopia (green-blind)
#918F84
Tritanopia (blue-blind)
#E4556E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d45f87;
/* rgb */ color: rgb(212, 95, 135);
/* oklch */ color: oklch(64.1% 0.152 0.9);
Tailwind
colors: {
  custom: {
    50: '#e591a9',
    500: '#d45f87',
    950: '#000000',
  },
}
SCSS
$custom: #d45f87;
$custom-light: #e591a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f87",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 339.487,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64062,
    "c": 0.15241,
    "h": 0.9
  },
  "luminance": 0.23931
}

Semantic roles & 50–950 ramp

primary
#D45F87
secondary
#B1DECE
accent
#C58D20
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #D45F87

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

Preview Lab → · Contrast checker → · Palette generator →

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