#D128A5#D128A5

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

Color values

HEX#D128A5
RGBrgb(209, 40, 165)
HSLhsl(316, 68%, 49%)
HSVhsv(316, 81%, 82%)
CMYKcmyk(0%, 80.9%, 21.1%, 18%)
CIE-LABlab(49.24, 73.17, -27.38)
CIE-LCHlch(49.24, 78.13, 339.49°)
OKLaboklab(59.34% 0.2199 -0.0737)
OKLCHoklch(59.34% 0.232 341.5)
XYZxyz(33.8460, 17.7931, 37.2420)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A5 #28D154
analogous
#A928D1 #D128A5 #D12851
triadic
#D128A5 #A5D128 #28A5D1
tetradic
#D128A5 #D1A928 #28D154 #2851D1
square
#D128A5 #D1A928 #28D154 #2851D1
split-complementary
#D128A5 #51D128 #28D1A9
monochromatic
#6A1454 #9E1E7C #D128A5 #DF57BC #E98BD0

Accessibility & contrast

On white

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

On black

4.56
#D128A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D128A5#FFFFFF#000000##FFFFFF
##D128A51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#717FA1
Tritanopia (blue-blind)
#DE2C66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d128a5;
/* rgb */ color: rgb(209, 40, 165);
/* oklch */ color: oklch(59.3% 0.232 341.5);
Tailwind
colors: {
  custom: {
    50: '#e477c0',
    500: '#d128a5',
    950: '#000000',
  },
}
SCSS
$custom: #d128a5;
$custom-light: #e477c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a5",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 315.621,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.23198,
    "h": 341.5
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#D128A5
secondary
#82D397
accent
#EB6A3D
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128A5

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

Preview Lab → · Contrast checker → · Palette generator →

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