#D166B8#D166B8

#D166B8 is a light, vivid pink. Relative luminance 0.265; OKLCH L 66.4% C 0.166 H 337.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#D166B8
RGBrgb(209, 102, 184)
HSLhsl(314, 54%, 61%)
HSVhsv(314, 51%, 82%)
CMYKcmyk(0%, 51.2%, 12%, 18%)
CIE-LABlab(58.53, 52.50, -24.10)
CIE-LCHlch(58.53, 57.77, 335.34°)
OKLaboklab(66.39% 0.1531 -0.065)
OKLCHoklch(66.39% 0.166 337)
XYZxyz(39.6979, 26.5216, 48.3664)
Luminance0.2652 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B8 #66D17F
analogous
#B466D1 #D166B8 #D16682
triadic
#D166B8 #B8D166 #66B8D1
tetradic
#D166B8 #D1B466 #66D17F #6682D1
square
#D166B8 #D1B466 #66D17F #6682D1
split-complementary
#D166B8 #82D166 #66D1B4
monochromatic
#912C79 #C03AA1 #D166B8 #DF95CE #EDC4E4

Accessibility & contrast

On white

3.33
#D166B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#D166B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B8#FFFFFF#000000##000000
##D166B81.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882BB
Deuteranopia (green-blind)
#8693B5
Tritanopia (blue-blind)
#DA6A87
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d166b8;
/* rgb */ color: rgb(209, 102, 184);
/* oklch */ color: oklch(66.4% 0.166 337.0);
Tailwind
colors: {
  custom: {
    50: '#e196cd',
    500: '#d166b8',
    950: '#000000',
  },
}
SCSS
$custom: #d166b8;
$custom-light: #e196cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b8",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 314.019,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6639,
    "c": 0.16633,
    "h": 337
  },
  "luminance": 0.26519
}

Semantic roles & 50–950 ramp

primary
#D166B8
secondary
#B5DEBF
accent
#C14924
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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