#D166B2#D166B2

#D166B2 is a light, vivid pink. Relative luminance 0.263; OKLCH L 66.1% C 0.162 H 339.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D166B2
RGBrgb(209, 102, 178)
HSLhsl(317, 54%, 61%)
HSVhsv(317, 51%, 82%)
CMYKcmyk(0%, 51.2%, 14.8%, 18%)
CIE-LABlab(58.30, 51.56, -21.01)
CIE-LCHlch(58.30, 55.68, 337.83°)
OKLaboklab(66.14% 0.1517 -0.0563)
OKLCHoklch(66.14% 0.162 339.6)
XYZxyz(39.0822, 26.2753, 45.1241)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B2 #66D185
analogous
#BA66D1 #D166B2 #D1667C
triadic
#D166B2 #B2D166 #66B2D1
tetradic
#D166B2 #D1BA66 #66D185 #667CD1
square
#D166B2 #D1BA66 #66D185 #667CD1
split-complementary
#D166B2 #7CD166 #66D1BA
monochromatic
#912C74 #C03A99 #D166B2 #DF95CA #EDC4E1

Accessibility & contrast

On white

3.36
#D166B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D166B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B2#FFFFFF#000000##000000
##D166B21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B82B5
Deuteranopia (green-blind)
#8892AF
Tritanopia (blue-blind)
#DB6884
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d166b2;
/* rgb */ color: rgb(209, 102, 178);
/* oklch */ color: oklch(66.1% 0.162 339.6);
Tailwind
colors: {
  custom: {
    50: '#e195c9',
    500: '#d166b2',
    950: '#000000',
  },
}
SCSS
$custom: #d166b2;
$custom-light: #e195c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b2",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 317.383,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66142,
    "c": 0.16184,
    "h": 339.6
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#D166B2
secondary
#B5DEC1
accent
#C15224
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166B2

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

Preview Lab → · Contrast checker → · Palette generator →

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