#D186CB#D186CB

#D186CB is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.0% C 0.128 H 329.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D186CB
RGBrgb(209, 134, 203)
HSLhsl(305, 45%, 67%)
HSVhsv(305, 36%, 82%)
CMYKcmyk(0%, 35.9%, 2.9%, 18%)
CIE-LABlab(65.69, 39.32, -23.88)
CIE-LCHlch(65.69, 46.01, 328.73°)
OKLaboklab(71.99% 0.1104 -0.0647)
OKLCHoklch(71.99% 0.128 329.7)
XYZxyz(45.5984, 34.9193, 60.8266)
Luminance0.3492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D186CB #86D18C
analogous
#B286D1 #D186CB #D186A6
triadic
#D186CB #CBD186 #86CBD1
tetradic
#D186CB #D1B286 #86D18C #86A6D1
square
#D186CB #D1B286 #86D18C #86A6D1
split-complementary
#D186CB #A6D186 #86D1B2
monochromatic
#A03D98 #C05AB8 #D186CB #E2B2DE #F3DFF1

Accessibility & contrast

On white

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

On black

7.98
#D186CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D186CB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D186CB#FFFFFF#000000##000000
##D186CB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CE
Deuteranopia (green-blind)
#96A3C9
Tritanopia (blue-blind)
#D68BA0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d186cb;
/* rgb */ color: rgb(209, 134, 203);
/* oklch */ color: oklch(72.0% 0.128 329.7);
Tailwind
colors: {
  custom: {
    50: '#e0aadb',
    500: '#d186cb',
    950: '#000000',
  },
}
SCSS
$custom: #d186cb;
$custom-light: #e0aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#d186cb",
  "rgb": {
    "r": 209,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 304.8,
    "s": 44.91,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71991,
    "c": 0.12798,
    "h": 329.7
  },
  "luminance": 0.34917
}

Semantic roles & 50–950 ramp

primary
#D186CB
secondary
#CEE5CF
accent
#B8392D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D186CB

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

Preview Lab → · Contrast checker → · Palette generator →

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