#D166B5#D166B5

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

Color values

HEX#D166B5
RGBrgb(209, 102, 181)
HSLhsl(316, 54%, 61%)
HSVhsv(316, 51%, 82%)
CMYKcmyk(0%, 51.2%, 13.4%, 18%)
CIE-LABlab(58.41, 52.03, -22.56)
CIE-LCHlch(58.41, 56.71, 336.56°)
OKLaboklab(66.27% 0.1524 -0.0607)
OKLCHoklch(66.27% 0.164 338.3)
XYZxyz(39.3867, 26.3971, 46.7278)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B5 #66D182
analogous
#B766D1 #D166B5 #D1667F
triadic
#D166B5 #B5D166 #66B5D1
tetradic
#D166B5 #D1B766 #66D182 #667FD1
square
#D166B5 #D1B766 #66D182 #667FD1
split-complementary
#D166B5 #7FD166 #66D1B7
monochromatic
#912C76 #C03A9D #D166B5 #DF95CC #EDC4E3

Accessibility & contrast

On white

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

On black

6.28
#D166B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B5#FFFFFF#000000##000000
##D166B51.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B8
Deuteranopia (green-blind)
#8793B2
Tritanopia (blue-blind)
#DB6985
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d166b5;
/* rgb */ color: rgb(209, 102, 181);
/* oklch */ color: oklch(66.3% 0.164 338.3);
Tailwind
colors: {
  custom: {
    50: '#e195cb',
    500: '#d166b5',
    950: '#000000',
  },
}
SCSS
$custom: #d166b5;
$custom-light: #e195cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b5",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 315.701,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66265,
    "c": 0.16405,
    "h": 338.3
  },
  "luminance": 0.26394
}

Semantic roles & 50–950 ramp

primary
#D166B5
secondary
#B5DEC0
accent
#C14D24
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166B5

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

Preview Lab → · Contrast checker → · Palette generator →

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