#D128A9#D128A9

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

Color values

HEX#D128A9
RGBrgb(209, 40, 169)
HSLhsl(314, 68%, 49%)
HSVhsv(314, 81%, 82%)
CMYKcmyk(0%, 80.9%, 19.1%, 18%)
CIE-LABlab(49.42, 73.68, -29.46)
CIE-LCHlch(49.42, 79.36, 338.20°)
OKLaboklab(59.52% 0.2204 -0.0797)
OKLCHoklch(59.52% 0.234 340.1)
XYZxyz(34.2158, 17.9410, 39.1894)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A9 #28D150
analogous
#A528D1 #D128A9 #D12855
triadic
#D128A9 #A9D128 #28A9D1
tetradic
#D128A9 #D1A528 #28D150 #2855D1
square
#D128A9 #D1A528 #28D150 #2855D1
split-complementary
#D128A9 #55D128 #28D1A5
monochromatic
#6A1456 #9E1E7F #D128A9 #DF57BF #E98BD2

Accessibility & contrast

On white

4.58
#D128A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#D128A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D128A9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128A9#FFFFFF#000000##000000
##D128A91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#707FA5
Tritanopia (blue-blind)
#DE2F68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d128a9;
/* rgb */ color: rgb(209, 40, 169);
/* oklch */ color: oklch(59.5% 0.234 340.1);
Tailwind
colors: {
  custom: {
    50: '#e477c3',
    500: '#d128a9',
    950: '#000000',
  },
}
SCSS
$custom: #d128a9;
$custom-light: #e477c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a9",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 314.201,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59524,
    "c": 0.23437,
    "h": 340.1
  },
  "luminance": 0.17937
}

Semantic roles & 50–950 ramp

primary
#D128A9
secondary
#82D395
accent
#EB663D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128A9

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

Preview Lab → · Contrast checker → · Palette generator →

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