#D17CAB#D17CAB

#D17CAB is a light, moderate pink. Relative luminance 0.309; OKLCH L 69.2% C 0.120 H 346.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D17CAB
RGBrgb(209, 124, 171)
HSLhsl(327, 48%, 65%)
HSVhsv(327, 41%, 82%)
CMYKcmyk(0%, 40.7%, 18.2%, 18%)
CIE-LABlab(62.43, 39.26, -10.74)
CIE-LCHlch(62.43, 40.70, 344.70°)
OKLaboklab(69.17% 0.1166 -0.0282)
OKLCHoklch(69.17% 0.12 346.4)
XYZxyz(40.8534, 30.9136, 42.3353)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CAB #7CD1A2
analogous
#CD7CD1 #D17CAB #D17C80
triadic
#D17CAB #ABD17C #7CABD1
tetradic
#D17CAB #D1CD7C #7CD1A2 #7C80D1
square
#D17CAB #D1CD7C #7CD1A2 #7C80D1
split-complementary
#D17CAB #80D17C #7CD1CD
monochromatic
#9C376F #C14F8E #D17CAB #E1A9C8 #F1D7E5

Accessibility & contrast

On white

2.92
#D17CAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D17CAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CAB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CAB#FFFFFF#000000##000000
##D17CAB1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAD
Deuteranopia (green-blind)
#989CA9
Tritanopia (blue-blind)
#DC7B8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d17cab;
/* rgb */ color: rgb(209, 124, 171);
/* oklch */ color: oklch(69.2% 0.120 346.4);
Tailwind
colors: {
  custom: {
    50: '#e1a3c4',
    500: '#d17cab',
    950: '#000000',
  },
}
SCSS
$custom: #d17cab;
$custom-light: #e1a3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cab",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 326.824,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69167,
    "c": 0.11995,
    "h": 346.4
  },
  "luminance": 0.30911
}

Semantic roles & 50–950 ramp

primary
#D17CAB
secondary
#C6E3D3
accent
#BB6B2A
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #D17CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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