#D787AF#D787AF

#D787AF is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.8% C 0.109 H 348.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D787AF
RGBrgb(215, 135, 175)
HSLhsl(330, 50%, 69%)
HSVhsv(330, 37%, 84%)
CMYKcmyk(0%, 37.2%, 18.6%, 15.7%)
CIE-LABlab(65.65, 36.10, -8.13)
CIE-LCHlch(65.65, 37.00, 347.30°)
OKLaboklab(71.8% 0.1074 -0.0212)
OKLCHoklch(71.8% 0.109 348.8)
XYZxyz(44.4267, 34.8729, 44.9403)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787AF #87D7AF
analogous
#D787D7 #D787AF #D78787
triadic
#D787AF #AFD787 #87AFD7
tetradic
#D787AF #D7D787 #87D7AF #8787D7
square
#D787AF #D7D787 #87D7AF #8787D7
split-complementary
#D787AF #87D787 #87D7D7
monochromatic
#AB3972 #C85990 #D787AF #E6B5CE #F6E3EC

Accessibility & contrast

On white

2.63
#D787AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D787AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787AF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787AF#FFFFFF#000000##000000
##D787AF1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E97B0
Deuteranopia (green-blind)
#A2A4AD
Tritanopia (blue-blind)
#E28595
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d787af;
/* rgb */ color: rgb(215, 135, 175);
/* oklch */ color: oklch(71.8% 0.109 348.8);
Tailwind
colors: {
  custom: {
    50: '#e5abc6',
    500: '#d787af',
    950: '#000000',
  },
}
SCSS
$custom: #d787af;
$custom-light: #e5abc6;
$custom-dark: #000000;
JSON
{
  "hex": "#d787af",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 330,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71803,
    "c": 0.10947,
    "h": 348.8
  },
  "luminance": 0.3487
}

Semantic roles & 50–950 ramp

primary
#D787AF
secondary
#D1E9DD
accent
#BD7328
background
#FEFAFC
surface
#FCF4F8
border
#D5CED1
text
#161013
muted
#847F82

Preview Lab

Preview with #D787AF

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

Preview Lab → · Contrast checker → · Palette generator →

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