#D17BA2#D17BA2

#D17BA2 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.7% C 0.116 H 351.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D17BA2
RGBrgb(209, 123, 162)
HSLhsl(333, 48%, 65%)
HSVhsv(333, 41%, 82%)
CMYKcmyk(0%, 41.1%, 22.5%, 18%)
CIE-LABlab(61.94, 38.43, -6.34)
CIE-LCHlch(61.94, 38.95, 350.63°)
OKLaboklab(68.7% 0.1152 -0.0163)
OKLCHoklch(68.7% 0.116 351.9)
XYZxyz(39.8999, 30.3327, 37.9287)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BA2 #7BD1AA
analogous
#D17BCD #D17BA2 #D17F7B
triadic
#D17BA2 #A2D17B #7BA2D1
tetradic
#D17BA2 #CDD17B #7BD1AA #7F7BD1
square
#D17BA2 #CDD17B #7BD1AA #7F7BD1
split-complementary
#D17BA2 #7BD17F #7BCDD1
monochromatic
#9B3664 #C14E82 #D17BA2 #E1A8C2 #F1D6E2

Accessibility & contrast

On white

2.97
#D17BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D17BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BA2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BA2#FFFFFF#000000##000000
##D17BA21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848DA3
Deuteranopia (green-blind)
#9A9BA0
Tritanopia (blue-blind)
#DD7889
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d17ba2;
/* rgb */ color: rgb(209, 123, 162);
/* oklch */ color: oklch(68.7% 0.116 351.9);
Tailwind
colors: {
  custom: {
    50: '#e1a3bd',
    500: '#d17ba2',
    950: '#000000',
  },
}
SCSS
$custom: #d17ba2;
$custom-light: #e1a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ba2",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 332.791,
    "s": 48.315,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68699,
    "c": 0.11639,
    "h": 351.9
  },
  "luminance": 0.3033
}

Semantic roles & 50–950 ramp

primary
#D17BA2
secondary
#C5E2D5
accent
#BC7A2A
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#150F12
muted
#847F81

Preview Lab

Preview with #D17BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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