#D166B6#D166B6

#D166B6 is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.3% C 0.165 H 337.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D166B6
RGBrgb(209, 102, 182)
HSLhsl(315, 54%, 61%)
HSVhsv(315, 51%, 82%)
CMYKcmyk(0%, 51.2%, 12.9%, 18%)
CIE-LABlab(58.45, 52.19, -23.08)
CIE-LCHlch(58.45, 57.06, 336.15°)
OKLaboklab(66.31% 0.1527 -0.0621)
OKLCHoklch(66.31% 0.165 337.9)
XYZxyz(39.4897, 26.4383, 47.2701)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B6 #66D181
analogous
#B666D1 #D166B6 #D16680
triadic
#D166B6 #B6D166 #66B6D1
tetradic
#D166B6 #D1B666 #66D181 #6680D1
square
#D166B6 #D1B666 #66D181 #6680D1
split-complementary
#D166B6 #80D166 #66D1B6
monochromatic
#912C77 #C03A9E #D166B6 #DF95CC #EDC4E3

Accessibility & contrast

On white

3.34
#D166B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D166B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B6#FFFFFF#000000##000000
##D166B61.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B9
Deuteranopia (green-blind)
#8793B3
Tritanopia (blue-blind)
#DB6A86
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d166b6;
/* rgb */ color: rgb(209, 102, 182);
/* oklch */ color: oklch(66.3% 0.165 337.9);
Tailwind
colors: {
  custom: {
    50: '#e195cc',
    500: '#d166b6',
    950: '#000000',
  },
}
SCSS
$custom: #d166b6;
$custom-light: #e195cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b6",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 182
  },
  "hsl": {
    "h": 315.14,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66307,
    "c": 0.16481,
    "h": 337.9
  },
  "luminance": 0.26435
}

Semantic roles & 50–950 ramp

primary
#D166B6
secondary
#B5DEBF
accent
#C14C24
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166B6

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

Preview Lab → · Contrast checker → · Palette generator →

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