#D128AB#D128AB

#D128AB is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.6% C 0.236 H 339.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#D128AB
RGBrgb(209, 40, 171)
HSLhsl(313, 68%, 49%)
HSVhsv(313, 81%, 82%)
CMYKcmyk(0%, 80.9%, 18.2%, 18%)
CIE-LABlab(49.52, 73.94, -30.50)
CIE-LCHlch(49.52, 79.99, 337.58°)
OKLaboklab(59.62% 0.2206 -0.0826)
OKLCHoklch(59.62% 0.236 339.5)
XYZxyz(34.4050, 18.0167, 40.1858)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128AB #28D14E
analogous
#A328D1 #D128AB #D12857
triadic
#D128AB #ABD128 #28ABD1
tetradic
#D128AB #D1A328 #28D14E #2857D1
square
#D128AB #D1A328 #28D14E #2857D1
split-complementary
#D128AB #57D128 #28D1A3
monochromatic
#6A1457 #9E1E81 #D128AB #DF57C0 #E98BD4

Accessibility & contrast

On white

4.56
#D128AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#D128AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D128AB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128AB#FFFFFF#000000##000000
##D128AB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3565AE
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#DD3069
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d128ab;
/* rgb */ color: rgb(209, 40, 171);
/* oklch */ color: oklch(59.6% 0.236 339.5);
Tailwind
colors: {
  custom: {
    50: '#e477c4',
    500: '#d128ab',
    950: '#000000',
  },
}
SCSS
$custom: #d128ab;
$custom-light: #e477c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d128ab",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 313.491,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.23558,
    "h": 339.5
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#D128AB
secondary
#82D394
accent
#EB643D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128AB

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

Preview Lab → · Contrast checker → · Palette generator →

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