#D166A7#D166A7

#D166A7 is a light, vivid pink. Relative luminance 0.258; OKLCH L 65.7% C 0.154 H 344.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D166A7
RGBrgb(209, 102, 167)
HSLhsl(324, 54%, 61%)
HSVhsv(324, 51%, 82%)
CMYKcmyk(0%, 51.2%, 20.1%, 18%)
CIE-LABlab(57.90, 49.90, -15.28)
CIE-LCHlch(57.90, 52.19, 342.97°)
OKLaboklab(65.71% 0.1489 -0.0404)
OKLCHoklch(65.71% 0.154 344.8)
XYZxyz(38.0218, 25.8511, 39.5390)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166A7 #66D190
analogous
#C566D1 #D166A7 #D16671
triadic
#D166A7 #A7D166 #66A7D1
tetradic
#D166A7 #D1C566 #66D190 #6671D1
square
#D166A7 #D1C566 #66D190 #6671D1
split-complementary
#D166A7 #71D166 #66D1C5
monochromatic
#912C69 #C03A8B #D166A7 #DF95C2 #EDC4DD

Accessibility & contrast

On white

3.40
#D166A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D166A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166A7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166A7#FFFFFF#000000##000000
##D166A71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F80A9
Deuteranopia (green-blind)
#8C92A4
Tritanopia (blue-blind)
#DD657F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d166a7;
/* rgb */ color: rgb(209, 102, 167);
/* oklch */ color: oklch(65.7% 0.154 344.8);
Tailwind
colors: {
  custom: {
    50: '#e295c1',
    500: '#d166a7',
    950: '#000000',
  },
}
SCSS
$custom: #d166a7;
$custom-light: #e295c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d166a7",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 167
  },
  "hsl": {
    "h": 323.551,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.15428,
    "h": 344.8
  },
  "luminance": 0.25848
}

Semantic roles & 50–950 ramp

primary
#D166A7
secondary
#B5DEC5
accent
#C16224
background
#FEF9FB
surface
#FCF2F7
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D166A7

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

Preview Lab → · Contrast checker → · Palette generator →

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