#D128A3#D128A3

#D128A3 is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 59.2% C 0.231 H 342.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D128A3
RGBrgb(209, 40, 163)
HSLhsl(316, 68%, 49%)
HSVhsv(316, 81%, 82%)
CMYKcmyk(0%, 80.9%, 22%, 18%)
CIE-LABlab(49.16, 72.92, -26.33)
CIE-LCHlch(49.16, 77.53, 340.15°)
OKLaboklab(59.24% 0.2197 -0.0708)
OKLCHoklch(59.24% 0.231 342.1)
XYZxyz(33.6654, 17.7209, 36.2908)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A3 #28D156
analogous
#AB28D1 #D128A3 #D1284F
triadic
#D128A3 #A3D128 #28A3D1
tetradic
#D128A3 #D1AB28 #28D156 #284FD1
square
#D128A3 #D1AB28 #28D156 #284FD1
split-complementary
#D128A3 #4FD128 #28D1AB
monochromatic
#6A1453 #9E1E7B #D128A3 #DF57BA #E98BCF

Accessibility & contrast

On white

4.62
#D128A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#D128A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D128A3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128A3#FFFFFF#000000##FFFFFF
##D128A31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d128a3;
/* rgb */ color: rgb(209, 40, 163);
/* oklch */ color: oklch(59.2% 0.231 342.1);
Tailwind
colors: {
  custom: {
    50: '#e477be',
    500: '#d128a3',
    950: '#000000',
  },
}
SCSS
$custom: #d128a3;
$custom-light: #e477be;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a3",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 316.331,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.2308,
    "h": 342.1
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D128A3

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

Preview Lab → · Contrast checker → · Palette generator →

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