#D128A4#D128A4

#D128A4 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.3% C 0.231 H 341.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D128A4
RGBrgb(209, 40, 164)
HSLhsl(316, 68%, 49%)
HSVhsv(316, 81%, 82%)
CMYKcmyk(0%, 80.9%, 21.5%, 18%)
CIE-LABlab(49.20, 73.05, -26.86)
CIE-LCHlch(49.20, 77.83, 339.82°)
OKLaboklab(59.29% 0.2198 -0.0723)
OKLCHoklch(59.29% 0.231 341.8)
XYZxyz(33.7554, 17.7568, 36.7645)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A4 #28D155
analogous
#AA28D1 #D128A4 #D12850
triadic
#D128A4 #A4D128 #28A4D1
tetradic
#D128A4 #D1AA28 #28D155 #2850D1
square
#D128A4 #D1AA28 #28D155 #2850D1
split-complementary
#D128A4 #50D128 #28D1AA
monochromatic
#6A1453 #9E1E7C #D128A4 #DF57BB #E98BD0

Accessibility & contrast

On white

4.61
#D128A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#D128A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D128A4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128A4#FFFFFF#000000##FFFFFF
##D128A41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A7
Deuteranopia (green-blind)
#727FA0
Tritanopia (blue-blind)
#DE2B65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d128a4;
/* rgb */ color: rgb(209, 40, 164);
/* oklch */ color: oklch(59.3% 0.231 341.8);
Tailwind
colors: {
  custom: {
    50: '#e477bf',
    500: '#d128a4',
    950: '#000000',
  },
}
SCSS
$custom: #d128a4;
$custom-light: #e477bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a4",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 315.976,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.23139,
    "h": 341.8
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#D128A4
secondary
#82D398
accent
#EB6B3D
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128A4

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

Preview Lab → · Contrast checker → · Palette generator →

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