#D1428C#D1428C

#D1428C is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.4% C 0.192 H 352.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D1428C
RGBrgb(209, 66, 140)
HSLhsl(329, 61%, 54%)
HSVhsv(329, 68%, 82%)
CMYKcmyk(0%, 68.4%, 33%, 18%)
CIE-LABlab(51.09, 62.15, -9.67)
CIE-LCHlch(51.09, 62.90, 351.16°)
OKLaboklab(60.36% 0.1899 -0.0249)
OKLCHoklch(60.36% 0.192 352.5)
XYZxyz(32.9782, 19.3489, 26.8039)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1428C #42D187
analogous
#CF42D1 #D1428C #D14245
triadic
#D1428C #8CD142 #428CD1
tetradic
#D1428C #D1CF42 #42D187 #4245D1
square
#D1428C #D1CF42 #42D187 #4245D1
split-complementary
#D1428C #45D142 #42D1CF
monochromatic
#7B1E4E #AC2A6D #D1428C #DD73AA #E9A4C8

Accessibility & contrast

On white

4.31
#D1428C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D1428C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1428C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1428C#FFFFFF#000000##000000
##D1428C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#59698E
Deuteranopia (green-blind)
#818389
Tritanopia (blue-blind)
#E13861
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d1428c;
/* rgb */ color: rgb(209, 66, 140);
/* oklch */ color: oklch(60.4% 0.192 352.5);
Tailwind
colors: {
  custom: {
    50: '#e481ad',
    500: '#d1428c',
    950: '#000000',
  },
}
SCSS
$custom: #d1428c;
$custom-light: #e481ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d1428c",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 328.951,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60362,
    "c": 0.19156,
    "h": 352.5
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#D1428C
secondary
#99D6B6
accent
#E49144
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D1428C

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

Preview Lab → · Contrast checker → · Palette generator →

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