#D166B3#D166B3

#D166B3 is a light, vivid pink. Relative luminance 0.263; OKLCH L 66.2% C 0.163 H 339.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D166B3
RGBrgb(209, 102, 179)
HSLhsl(317, 54%, 61%)
HSVhsv(317, 51%, 82%)
CMYKcmyk(0%, 51.2%, 14.4%, 18%)
CIE-LABlab(58.34, 51.71, -21.53)
CIE-LCHlch(58.34, 56.02, 337.40°)
OKLaboklab(66.18% 0.152 -0.0578)
OKLCHoklch(66.18% 0.163 339.2)
XYZxyz(39.1830, 26.3156, 45.6548)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B3 #66D184
analogous
#B966D1 #D166B3 #D1667D
triadic
#D166B3 #B3D166 #66B3D1
tetradic
#D166B3 #D1B966 #66D184 #667DD1
square
#D166B3 #D1B966 #66D184 #667DD1
split-complementary
#D166B3 #7DD166 #66D1B9
monochromatic
#912C75 #C03A9A #D166B3 #DF95CA #EDC4E2

Accessibility & contrast

On white

3.35
#D166B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D166B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B3#FFFFFF#000000##000000
##D166B31.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B6
Deuteranopia (green-blind)
#8892B0
Tritanopia (blue-blind)
#DB6984
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d166b3;
/* rgb */ color: rgb(209, 102, 179);
/* oklch */ color: oklch(66.2% 0.163 339.2);
Tailwind
colors: {
  custom: {
    50: '#e195ca',
    500: '#d166b3',
    950: '#000000',
  },
}
SCSS
$custom: #d166b3;
$custom-light: #e195ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b3",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 316.822,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66183,
    "c": 0.16258,
    "h": 339.2
  },
  "luminance": 0.26313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D166B3

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

Preview Lab → · Contrast checker → · Palette generator →

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