#D128A6#D128A6

#D128A6 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.4% C 0.233 H 341.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#D128A6
RGBrgb(209, 40, 166)
HSLhsl(315, 68%, 49%)
HSVhsv(315, 81%, 82%)
CMYKcmyk(0%, 80.9%, 20.6%, 18%)
CIE-LABlab(49.29, 73.30, -27.90)
CIE-LCHlch(49.29, 78.43, 339.16°)
OKLaboklab(59.38% 0.2201 -0.0752)
OKLCHoklch(59.38% 0.233 341.1)
XYZxyz(33.9374, 17.8297, 37.7232)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A6 #28D153
analogous
#A828D1 #D128A6 #D12852
triadic
#D128A6 #A6D128 #28A6D1
tetradic
#D128A6 #D1A828 #28D153 #2852D1
square
#D128A6 #D1A828 #28D153 #2852D1
split-complementary
#D128A6 #52D128 #28D1A8
monochromatic
#6A1454 #9E1E7D #D128A6 #DF57BC #E98BD1

Accessibility & contrast

On white

4.60
#D128A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#D128A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D128A6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128A6#FFFFFF#000000##FFFFFF
##D128A61.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A9
Deuteranopia (green-blind)
#717FA2
Tritanopia (blue-blind)
#DE2D66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d128a6;
/* rgb */ color: rgb(209, 40, 166);
/* oklch */ color: oklch(59.4% 0.233 341.1);
Tailwind
colors: {
  custom: {
    50: '#e477c0',
    500: '#d128a6',
    950: '#000000',
  },
}
SCSS
$custom: #d128a6;
$custom-light: #e477c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a6",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 315.266,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.23256,
    "h": 341.1
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D128A6

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

Preview Lab → · Contrast checker → · Palette generator →

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