#D7487C#D7487C

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

Color values

HEX#D7487C
RGBrgb(215, 72, 124)
HSLhsl(338, 64%, 56%)
HSVhsv(338, 67%, 84%)
CMYKcmyk(0%, 66.5%, 42.3%, 15.7%)
CIE-LABlab(52.44, 59.86, 2.01)
CIE-LCHlch(52.44, 59.89, 1.93°)
OKLaboklab(61.39% 0.1831 0.0059)
OKLCHoklch(61.39% 0.183 1.8)
XYZxyz(33.9822, 20.5412, 21.2402)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7487C #48D7A3
analogous
#D748C4 #D7487C #D75C48
triadic
#D7487C #7CD748 #487CD7
tetradic
#D7487C #C4D748 #48D7A3 #5C48D7
square
#D7487C #C4D748 #48D7A3 #5C48D7
split-complementary
#D7487C #48D75C #48C4D7
monochromatic
#871E44 #B9295D #D7487C #E27AA0 #EDACC4

Accessibility & contrast

On white

4.11
#D7487C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D7487C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7487C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7487C#FFFFFF#000000##000000
##D7487C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7D
Deuteranopia (green-blind)
#8B8779
Tritanopia (blue-blind)
#E9365D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d7487c;
/* rgb */ color: rgb(215, 72, 124);
/* oklch */ color: oklch(61.4% 0.183 1.8);
Tailwind
colors: {
  custom: {
    50: '#e884a1',
    500: '#d7487c',
    950: '#000000',
  },
}
SCSS
$custom: #d7487c;
$custom-light: #e884a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7487c",
  "rgb": {
    "r": 215,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 338.182,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.1832,
    "h": 1.8
  },
  "luminance": 0.20537
}

Semantic roles & 50–950 ramp

primary
#D7487C
secondary
#A0DBC5
accent
#E7AB41
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D7487C

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

Preview Lab → · Contrast checker → · Palette generator →

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