#D7487B#D7487B

#D7487B is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.183 H 2.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D7487B
RGBrgb(215, 72, 123)
HSLhsl(339, 64%, 56%)
HSVhsv(339, 67%, 84%)
CMYKcmyk(0%, 66.5%, 42.8%, 15.7%)
CIE-LABlab(52.42, 59.76, 2.57)
CIE-LCHlch(52.42, 59.82, 2.46°)
OKLaboklab(61.36% 0.1828 0.0073)
OKLCHoklch(61.36% 0.183 2.3)
XYZxyz(33.9193, 20.5160, 20.9088)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7487B #48D7A4
analogous
#D748C3 #D7487B #D75D48
triadic
#D7487B #7BD748 #487BD7
tetradic
#D7487B #C3D748 #48D7A4 #5D48D7
square
#D7487B #C3D748 #48D7A4 #5D48D7
split-complementary
#D7487B #48D75D #48C3D7
monochromatic
#871E43 #B9295C #D7487B #E27A9F #EDACC3

Accessibility & contrast

On white

4.12
#D7487B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D7487B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7487B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7487B#FFFFFF#000000##000000
##D7487B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7C
Deuteranopia (green-blind)
#8C8778
Tritanopia (blue-blind)
#E9365C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d7487b;
/* rgb */ color: rgb(215, 72, 123);
/* oklch */ color: oklch(61.4% 0.183 2.3);
Tailwind
colors: {
  custom: {
    50: '#e884a1',
    500: '#d7487b',
    950: '#000000',
  },
}
SCSS
$custom: #d7487b;
$custom-light: #e884a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7487b",
  "rgb": {
    "r": 215,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 338.601,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.18291,
    "h": 2.3
  },
  "luminance": 0.20512
}

Semantic roles & 50–950 ramp

primary
#D7487B
secondary
#A0DBC6
accent
#E7AC41
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D7487B

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

Preview Lab → · Contrast checker → · Palette generator →

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