#D128AD#D128AD

#D128AD is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.7% C 0.237 H 338.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D128AD
RGBrgb(209, 40, 173)
HSLhsl(313, 68%, 49%)
HSVhsv(313, 81%, 82%)
CMYKcmyk(0%, 80.9%, 17.2%, 18%)
CIE-LABlab(49.61, 74.20, -31.54)
CIE-LCHlch(49.61, 80.63, 336.98°)
OKLaboklab(59.72% 0.2208 -0.0856)
OKLCHoklch(59.72% 0.237 338.8)
XYZxyz(34.5970, 18.0935, 41.1974)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128AD #28D14C
analogous
#A128D1 #D128AD #D12859
triadic
#D128AD #ADD128 #28ADD1
tetradic
#D128AD #D1A128 #28D14C #2859D1
square
#D128AD #D1A128 #28D14C #2859D1
split-complementary
#D128AD #59D128 #28D1A1
monochromatic
#6A1458 #9E1E82 #D128AD #DF57C2 #E98BD5

Accessibility & contrast

On white

4.55
#D128AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#D128AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D128AD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128AD#FFFFFF#000000##000000
##D128AD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3465B0
Deuteranopia (green-blind)
#6E7FA9
Tritanopia (blue-blind)
#DD326A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d128ad;
/* rgb */ color: rgb(209, 40, 173);
/* oklch */ color: oklch(59.7% 0.237 338.8);
Tailwind
colors: {
  custom: {
    50: '#e477c6',
    500: '#d128ad',
    950: '#000000',
  },
}
SCSS
$custom: #d128ad;
$custom-light: #e477c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d128ad",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 312.781,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.23682,
    "h": 338.8
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#D128AD
secondary
#82D393
accent
#EB623D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D128AD

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

Preview Lab → · Contrast checker → · Palette generator →

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