#D187CB#D187CB

#D187CB is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.2% C 0.126 H 329.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D187CB
RGBrgb(209, 135, 203)
HSLhsl(305, 45%, 67%)
HSVhsv(305, 35%, 82%)
CMYKcmyk(0%, 35.4%, 2.9%, 18%)
CIE-LABlab(65.90, 38.79, -23.55)
CIE-LCHlch(65.90, 45.38, 328.74°)
OKLaboklab(72.15% 0.1089 -0.0637)
OKLCHoklch(72.15% 0.126 329.7)
XYZxyz(45.7372, 35.1970, 60.8729)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187CB #87D18D
analogous
#B287D1 #D187CB #D187A6
triadic
#D187CB #CBD187 #87CBD1
tetradic
#D187CB #D1B287 #87D18D #87A6D1
square
#D187CB #D1B287 #87D18D #87A6D1
split-complementary
#D187CB #A6D187 #87D1B2
monochromatic
#A03D98 #C05BB8 #D187CB #E2B3DE #F3DFF1

Accessibility & contrast

On white

2.61
#D187CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D187CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187CB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187CB#FFFFFF#000000##000000
##D187CB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACE
Deuteranopia (green-blind)
#96A4C9
Tritanopia (blue-blind)
#D68CA0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d187cb;
/* rgb */ color: rgb(209, 135, 203);
/* oklch */ color: oklch(72.2% 0.126 329.7);
Tailwind
colors: {
  custom: {
    50: '#e0abdb',
    500: '#d187cb',
    950: '#000000',
  },
}
SCSS
$custom: #d187cb;
$custom-light: #e0abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d187cb",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 304.865,
    "s": 44.578,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72154,
    "c": 0.12621,
    "h": 329.7
  },
  "luminance": 0.35195
}

Semantic roles & 50–950 ramp

primary
#D187CB
secondary
#CEE5D0
accent
#B8392E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D187CB

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

Preview Lab → · Contrast checker → · Palette generator →

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