#D428B1#D428B1

#D428B1 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.4% C 0.241 H 338.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D428B1
RGBrgb(212, 40, 177)
HSLhsl(312, 68%, 49%)
HSVhsv(312, 81%, 83%)
CMYKcmyk(0%, 81.1%, 16.5%, 16.9%)
CIE-LABlab(50.33, 75.36, -32.73)
CIE-LCHlch(50.33, 82.16, 336.53°)
OKLaboklab(60.39% 0.2238 -0.0889)
OKLCHoklch(60.39% 0.241 338.3)
XYZxyz(35.8469, 18.6926, 43.3066)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D428B1 #28D44B
analogous
#A128D4 #D428B1 #D4285B
triadic
#D428B1 #B1D428 #28B1D4
tetradic
#D428B1 #D4A128 #28D44B #285BD4
square
#D428B1 #D4A128 #28D44B #285BD4
split-complementary
#D428B1 #5BD428 #28D4A1
monochromatic
#6D155B #A11E86 #D428B1 #E059C4 #E98DD7

Accessibility & contrast

On white

4.43
#D428B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D428B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D428B1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D428B1#FFFFFF#000000##000000
##D428B11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#6F81AD
Tritanopia (blue-blind)
#E0336C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d428b1;
/* rgb */ color: rgb(212, 40, 177);
/* oklch */ color: oklch(60.4% 0.241 338.3);
Tailwind
colors: {
  custom: {
    50: '#e678c8',
    500: '#d428b1',
    950: '#000000',
  },
}
SCSS
$custom: #d428b1;
$custom-light: #e678c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d428b1",
  "rgb": {
    "r": 212,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 312.209,
    "s": 68.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.6039,
    "c": 0.24084,
    "h": 338.3
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

primary
#D428B1
secondary
#84D494
accent
#EB603D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#170A13
muted
#857C82

Preview Lab

Preview with #D428B1

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

Preview Lab → · Contrast checker → · Palette generator →

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