#D166AF#D166AF

#D166AF is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.0% C 0.160 H 341.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D166AF
RGBrgb(209, 102, 175)
HSLhsl(319, 54%, 61%)
HSVhsv(319, 51%, 82%)
CMYKcmyk(0%, 51.2%, 16.3%, 18%)
CIE-LABlab(58.18, 51.10, -19.46)
CIE-LCHlch(58.18, 54.68, 339.15°)
OKLaboklab(66.02% 0.151 -0.052)
OKLCHoklch(66.02% 0.16 341)
XYZxyz(38.7843, 26.1561, 43.5550)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166AF #66D188
analogous
#BD66D1 #D166AF #D16679
triadic
#D166AF #AFD166 #66AFD1
tetradic
#D166AF #D1BD66 #66D188 #6679D1
square
#D166AF #D1BD66 #66D188 #6679D1
split-complementary
#D166AF #79D166 #66D1BD
monochromatic
#912C71 #C03A95 #D166AF #DF95C8 #EDC4E0

Accessibility & contrast

On white

3.37
#D166AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D166AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166AF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166AF#FFFFFF#000000##000000
##D166AF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C81B1
Deuteranopia (green-blind)
#8992AC
Tritanopia (blue-blind)
#DC6783
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d166af;
/* rgb */ color: rgb(209, 102, 175);
/* oklch */ color: oklch(66.0% 0.160 341.0);
Tailwind
colors: {
  custom: {
    50: '#e195c7',
    500: '#d166af',
    950: '#000000',
  },
}
SCSS
$custom: #d166af;
$custom-light: #e195c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d166af",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 319.065,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66022,
    "c": 0.15969,
    "h": 341
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#D166AF
secondary
#B5DEC2
accent
#C15624
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166AF

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

Preview Lab → · Contrast checker → · Palette generator →

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