#D166BF#D166BF

#D166BF is a light, vivid pink. Relative luminance 0.268; OKLCH L 66.7% C 0.172 H 334.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D166BF
RGBrgb(209, 102, 191)
HSLhsl(310, 54%, 61%)
HSVhsv(310, 51%, 82%)
CMYKcmyk(0%, 51.2%, 8.6%, 18%)
CIE-LABlab(58.81, 53.64, -27.68)
CIE-LCHlch(58.81, 60.36, 332.71°)
OKLaboklab(66.69% 0.1546 -0.0751)
OKLCHoklch(66.69% 0.172 334.1)
XYZxyz(40.4499, 26.8224, 52.3268)
Luminance0.2682 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166BF #66D178
analogous
#AD66D1 #D166BF #D16689
triadic
#D166BF #BFD166 #66BFD1
tetradic
#D166BF #D1AD66 #66D178 #6689D1
square
#D166BF #D1AD66 #66D178 #6689D1
split-complementary
#D166BF #89D166 #66D1AD
monochromatic
#912C80 #C03AA9 #D166BF #DF95D3 #EDC4E6

Accessibility & contrast

On white

3.30
#D166BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D166BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166BF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166BF#FFFFFF#000000##000000
##D166BF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6584C2
Deuteranopia (green-blind)
#8493BC
Tritanopia (blue-blind)
#D96C8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d166bf;
/* rgb */ color: rgb(209, 102, 191);
/* oklch */ color: oklch(66.7% 0.172 334.1);
Tailwind
colors: {
  custom: {
    50: '#e196d2',
    500: '#d166bf',
    950: '#000000',
  },
}
SCSS
$custom: #d166bf;
$custom-light: #e196d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d166bf",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 310.093,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.17185,
    "h": 334.1
  },
  "luminance": 0.2682
}

Semantic roles & 50–950 ramp

primary
#D166BF
secondary
#B5DEBC
accent
#C13F24
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D166BF

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

Preview Lab → · Contrast checker → · Palette generator →

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