#D128AC#D128AC

#D128AC is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.7% C 0.236 H 339.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D128AC
RGBrgb(209, 40, 172)
HSLhsl(313, 68%, 49%)
HSVhsv(313, 81%, 82%)
CMYKcmyk(0%, 80.9%, 17.7%, 18%)
CIE-LABlab(49.56, 74.07, -31.02)
CIE-LCHlch(49.56, 80.30, 337.28°)
OKLaboklab(59.67% 0.2207 -0.0841)
OKLCHoklch(59.67% 0.236 339.1)
XYZxyz(34.5006, 18.0550, 40.6897)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128AC #28D14D
analogous
#A228D1 #D128AC #D12858
triadic
#D128AC #ACD128 #28ACD1
tetradic
#D128AC #D1A228 #28D14D #2858D1
square
#D128AC #D1A228 #28D14D #2858D1
split-complementary
#D128AC #58D128 #28D1A2
monochromatic
#6A1457 #9E1E82 #D128AC #DF57C1 #E98BD4

Accessibility & contrast

On white

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

On black

4.61
#D128AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D128AC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128AC#FFFFFF#000000##000000
##D128AC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#6F7FA8
Tritanopia (blue-blind)
#DD316A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d128ac;
/* rgb */ color: rgb(209, 40, 172);
/* oklch */ color: oklch(59.7% 0.236 339.1);
Tailwind
colors: {
  custom: {
    50: '#e477c5',
    500: '#d128ac',
    950: '#000000',
  },
}
SCSS
$custom: #d128ac;
$custom-light: #e477c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d128ac",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 313.136,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.2362,
    "h": 339.1
  },
  "luminance": 0.18051
}

Semantic roles & 50–950 ramp

primary
#D128AC
secondary
#82D394
accent
#EB633D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D128AC

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

Preview Lab → · Contrast checker → · Palette generator →

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