#D128A7#D128A7

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

Color values

HEX#D128A7
RGBrgb(209, 40, 167)
HSLhsl(315, 68%, 49%)
HSVhsv(315, 81%, 82%)
CMYKcmyk(0%, 80.9%, 20.1%, 18%)
CIE-LABlab(49.33, 73.43, -28.42)
CIE-LCHlch(49.33, 78.74, 338.84°)
OKLaboklab(59.43% 0.2202 -0.0767)
OKLCHoklch(59.43% 0.233 340.8)
XYZxyz(34.0295, 17.8665, 38.2082)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D128A7 #28D152
analogous
#A728D1 #D128A7 #D12853
triadic
#D128A7 #A7D128 #28A7D1
tetradic
#D128A7 #D1A728 #28D152 #2853D1
square
#D128A7 #D1A728 #28D152 #2853D1
split-complementary
#D128A7 #53D128 #28D1A7
monochromatic
#6A1455 #9E1E7E #D128A7 #DF57BD #E98BD1

Accessibility & contrast

On white

4.59
#D128A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D128A7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D128A7#FFFFFF#000000##FFFFFF
##D128A71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#717FA3
Tritanopia (blue-blind)
#DE2E67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d128a7;
/* rgb */ color: rgb(209, 40, 167);
/* oklch */ color: oklch(59.4% 0.233 340.8);
Tailwind
colors: {
  custom: {
    50: '#e477c1',
    500: '#d128a7',
    950: '#000000',
  },
}
SCSS
$custom: #d128a7;
$custom-light: #e477c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d128a7",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 314.911,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5943,
    "c": 0.23317,
    "h": 340.8
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#D128A7
secondary
#82D396
accent
#EB683D
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D128A7

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

Preview Lab → · Contrast checker → · Palette generator →

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