#D128A0#D128A0

#D128A0 is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 59.1% C 0.229 H 343.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#D128A0
RGBrgb(209, 40, 160)
HSLhsl(317, 68%, 49%)
HSVhsv(317, 81%, 82%)
CMYKcmyk(0%, 80.9%, 23.4%, 18%)
CIE-LABlab(49.03, 72.55, -24.75)
CIE-LCHlch(49.03, 76.66, 341.16°)
OKLaboklab(59.11% 0.2193 -0.0663)
OKLCHoklch(59.11% 0.229 343.2)
XYZxyz(33.3998, 17.6146, 34.8919)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A0 #28D159
analogous
#AE28D1 #D128A0 #D1284C
triadic
#D128A0 #A0D128 #28A0D1
tetradic
#D128A0 #D1AE28 #28D159 #284CD1
square
#D128A0 #D1AE28 #28D159 #284CD1
split-complementary
#D128A0 #4CD128 #28D1AE
monochromatic
#6A1451 #9E1E79 #D128A0 #DF57B8 #E98BCD

Accessibility & contrast

On white

4.64
#D128A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#D128A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D128A0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128A0#FFFFFF#000000##FFFFFF
##D128A01.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A3
Deuteranopia (green-blind)
#737E9C
Tritanopia (blue-blind)
#DF2863
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d128a0;
/* rgb */ color: rgb(209, 40, 160);
/* oklch */ color: oklch(59.1% 0.229 343.2);
Tailwind
colors: {
  custom: {
    50: '#e477bc',
    500: '#d128a0',
    950: '#000000',
  },
}
SCSS
$custom: #d128a0;
$custom-light: #e477bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a0",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 317.396,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.22906,
    "h": 343.2
  },
  "luminance": 0.17611
}

Semantic roles & 50–950 ramp

primary
#D128A0
secondary
#82D39A
accent
#EB6F3D
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128A0

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

Preview Lab → · Contrast checker → · Palette generator →

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