#D166B7#D166B7

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

Color values

HEX#D166B7
RGBrgb(209, 102, 183)
HSLhsl(315, 54%, 61%)
HSVhsv(315, 51%, 82%)
CMYKcmyk(0%, 51.2%, 12.4%, 18%)
CIE-LABlab(58.49, 52.34, -23.59)
CIE-LCHlch(58.49, 57.41, 335.74°)
OKLaboklab(66.35% 0.1529 -0.0636)
OKLCHoklch(66.35% 0.166 337.4)
XYZxyz(39.5934, 26.4798, 47.8163)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B7 #66D180
analogous
#B566D1 #D166B7 #D16681
triadic
#D166B7 #B7D166 #66B7D1
tetradic
#D166B7 #D1B566 #66D180 #6681D1
square
#D166B7 #D1B566 #66D180 #6681D1
split-complementary
#D166B7 #81D166 #66D1B5
monochromatic
#912C78 #C03A9F #D166B7 #DF95CD #EDC4E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D166B7#FFFFFF#000000##000000
##D166B71.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d166b7;
/* rgb */ color: rgb(209, 102, 183);
/* oklch */ color: oklch(66.3% 0.166 337.4);
Tailwind
colors: {
  custom: {
    50: '#e196cc',
    500: '#d166b7',
    950: '#000000',
  },
}
SCSS
$custom: #d166b7;
$custom-light: #e196cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b7",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 314.579,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66348,
    "c": 0.16557,
    "h": 337.4
  },
  "luminance": 0.26477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D166B7

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

Preview Lab → · Contrast checker → · Palette generator →

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