#D17A9C#D17A9C

#D17A9C is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.3% C 0.115 H 355.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D17A9C
RGBrgb(209, 122, 156)
HSLhsl(337, 49%, 65%)
HSVhsv(337, 42%, 82%)
CMYKcmyk(0%, 41.6%, 25.4%, 18%)
CIE-LABlab(61.55, 38.10, -3.49)
CIE-LCHlch(61.55, 38.25, 354.77°)
OKLaboklab(68.34% 0.1148 -0.0087)
OKLCHoklch(68.34% 0.115 355.7)
XYZxyz(39.2558, 29.8776, 35.1454)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17A9C #7AD1AF
analogous
#D17AC7 #D17A9C #D1847A
triadic
#D17A9C #9CD17A #7A9CD1
tetradic
#D17A9C #C7D17A #7AD1AF #847AD1
square
#D17A9C #C7D17A #7AD1AF #847AD1
split-complementary
#D17A9C #7AD184 #7AC7D1
monochromatic
#9B365D #C14D7A #D17A9C #E1A7BE #F0D5E0

Accessibility & contrast

On white

3.01
#D17A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D17A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D17A9C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17A9C#FFFFFF#000000##000000
##D17A9C1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#858B9D
Deuteranopia (green-blind)
#9B9A9A
Tritanopia (blue-blind)
#DD7686
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d17a9c;
/* rgb */ color: rgb(209, 122, 156);
/* oklch */ color: oklch(68.3% 0.115 355.7);
Tailwind
colors: {
  custom: {
    50: '#e1a2b9',
    500: '#d17a9c',
    950: '#000000',
  },
}
SCSS
$custom: #d17a9c;
$custom-light: #e1a2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17a9c",
  "rgb": {
    "r": 209,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 336.552,
    "s": 48.603,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68343,
    "c": 0.11511,
    "h": 355.7
  },
  "luminance": 0.29875
}

Semantic roles & 50–950 ramp

primary
#D17A9C
secondary
#C5E2D7
accent
#BC832A
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D17A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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