#D187BC#D187BC

#D187BC is a light, moderate pink. Relative luminance 0.345; OKLCH L 71.6% C 0.113 H 337.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D187BC
RGBrgb(209, 135, 188)
HSLhsl(317, 45%, 67%)
HSVhsv(317, 35%, 82%)
CMYKcmyk(0%, 35.4%, 10%, 18%)
CIE-LABlab(65.37, 36.16, -15.95)
CIE-LCHlch(65.37, 39.52, 336.20°)
OKLaboklab(71.58% 0.1047 -0.0426)
OKLCHoklch(71.58% 0.113 337.9)
XYZxyz(44.0354, 34.5163, 51.9100)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187BC #87D19C
analogous
#C187D1 #D187BC #D18797
triadic
#D187BC #BCD187 #87BCD1
tetradic
#D187BC #D1C187 #87D19C #8797D1
square
#D187BC #D1C187 #87D19C #8797D1
split-complementary
#D187BC #97D187 #87D1C1
monochromatic
#A03D84 #C05BA3 #D187BC #E2B3D5 #F3DFED

Accessibility & contrast

On white

2.66
#D187BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D187BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187BC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187BC#FFFFFF#000000##000000
##D187BC1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8998BE
Deuteranopia (green-blind)
#9BA3BA
Tritanopia (blue-blind)
#D9899A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d187bc;
/* rgb */ color: rgb(209, 135, 188);
/* oklch */ color: oklch(71.6% 0.113 337.9);
Tailwind
colors: {
  custom: {
    50: '#e0abd0',
    500: '#d187bc',
    950: '#000000',
  },
}
SCSS
$custom: #d187bc;
$custom-light: #e0abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d187bc",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 317.027,
    "s": 44.578,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.11304,
    "h": 337.9
  },
  "luminance": 0.34514
}

Semantic roles & 50–950 ramp

primary
#D187BC
secondary
#CEE5D5
accent
#B8552E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #D187BC

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

Preview Lab → · Contrast checker → · Palette generator →

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