#D1478A#D1478A

#D1478A is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.184 H 354.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D1478A
RGBrgb(209, 71, 138)
HSLhsl(331, 60%, 55%)
HSVhsv(331, 66%, 82%)
CMYKcmyk(0%, 66%, 34%, 18%)
CIE-LABlab(51.72, 59.99, -7.53)
CIE-LCHlch(51.72, 60.46, 352.85°)
OKLaboklab(60.81% 0.1833 -0.0191)
OKLCHoklch(60.81% 0.184 354)
XYZxyz(33.1370, 19.9005, 26.1359)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1478A #47D18E
analogous
#D147CF #D1478A #D14947
triadic
#D1478A #8AD147 #478AD1
tetradic
#D1478A #CFD147 #47D18E #4947D1
square
#D1478A #CFD147 #47D18E #4947D1
split-complementary
#D1478A #47D149 #47CFD1
monochromatic
#7E204D #AF2C6B #D1478A #DD78A9 #E9A9C8

Accessibility & contrast

On white

4.22
#D1478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D1478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1478A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1478A#FFFFFF#000000##000000
##D1478A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#E13D63
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d1478a;
/* rgb */ color: rgb(209, 71, 138);
/* oklch */ color: oklch(60.8% 0.184 354.0);
Tailwind
colors: {
  custom: {
    50: '#e383ac',
    500: '#d1478a',
    950: '#000000',
  },
}
SCSS
$custom: #d1478a;
$custom-light: #e383ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d1478a",
  "rgb": {
    "r": 209,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 330.87,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60805,
    "c": 0.18432,
    "h": 354
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#D1478A
secondary
#9DD7BB
accent
#E39645
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D1478A

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

Preview Lab → · Contrast checker → · Palette generator →

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