#D128A1#D128A1

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

Color values

HEX#D128A1
RGBrgb(209, 40, 161)
HSLhsl(317, 68%, 49%)
HSVhsv(317, 81%, 82%)
CMYKcmyk(0%, 80.9%, 23%, 18%)
CIE-LABlab(49.07, 72.68, -25.28)
CIE-LCHlch(49.07, 76.95, 340.82°)
OKLaboklab(59.15% 0.2194 -0.0678)
OKLCHoklch(59.15% 0.23 342.8)
XYZxyz(33.4876, 17.6498, 35.3545)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A1 #28D158
analogous
#AD28D1 #D128A1 #D1284D
triadic
#D128A1 #A1D128 #28A1D1
tetradic
#D128A1 #D1AD28 #28D158 #284DD1
square
#D128A1 #D1AD28 #28D158 #284DD1
split-complementary
#D128A1 #4DD128 #28D1AD
monochromatic
#6A1452 #9E1E79 #D128A1 #DF57B8 #E98BCE

Accessibility & contrast

On white

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

On black

4.53
#D128A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D128A1#FFFFFF#000000##FFFFFF
##D128A11.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#737E9D
Tritanopia (blue-blind)
#DF2963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d128a1;
/* rgb */ color: rgb(209, 40, 161);
/* oklch */ color: oklch(59.2% 0.230 342.8);
Tailwind
colors: {
  custom: {
    50: '#e477bd',
    500: '#d128a1',
    950: '#000000',
  },
}
SCSS
$custom: #d128a1;
$custom-light: #e477bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a1",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 317.041,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.22964,
    "h": 342.8
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#D128A1
secondary
#82D399
accent
#EB6E3D
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128A1

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

Preview Lab → · Contrast checker → · Palette generator →

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