#D128A8#D128A8

#D128A8 is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.5% C 0.234 H 340.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D128A8
RGBrgb(209, 40, 168)
HSLhsl(315, 68%, 49%)
HSVhsv(315, 81%, 82%)
CMYKcmyk(0%, 80.9%, 19.6%, 18%)
CIE-LABlab(49.38, 73.56, -28.94)
CIE-LCHlch(49.38, 79.05, 338.52°)
OKLaboklab(59.48% 0.2203 -0.0782)
OKLCHoklch(59.48% 0.234 340.5)
XYZxyz(34.1223, 17.9036, 38.6969)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A8 #28D151
analogous
#A628D1 #D128A8 #D12854
triadic
#D128A8 #A8D128 #28A8D1
tetradic
#D128A8 #D1A628 #28D151 #2854D1
square
#D128A8 #D1A628 #28D151 #2854D1
split-complementary
#D128A8 #54D128 #28D1A6
monochromatic
#6A1455 #9E1E7F #D128A8 #DF57BE #E98BD2

Accessibility & contrast

On white

4.59
#D128A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#D128A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D128A8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128A8#FFFFFF#000000##FFFFFF
##D128A81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AB
Deuteranopia (green-blind)
#707FA4
Tritanopia (blue-blind)
#DE2E67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d128a8;
/* rgb */ color: rgb(209, 40, 168);
/* oklch */ color: oklch(59.5% 0.234 340.5);
Tailwind
colors: {
  custom: {
    50: '#e477c2',
    500: '#d128a8',
    950: '#000000',
  },
}
SCSS
$custom: #d128a8;
$custom-light: #e477c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a8",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 314.556,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.23376,
    "h": 340.5
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#D128A8
secondary
#82D396
accent
#EB673D
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128A8

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

Preview Lab → · Contrast checker → · Palette generator →

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