#D1478C#D1478C

#D1478C is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.185 H 353.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D1478C
RGBrgb(209, 71, 140)
HSLhsl(330, 60%, 55%)
HSVhsv(330, 66%, 82%)
CMYKcmyk(0%, 66%, 33%, 18%)
CIE-LABlab(51.79, 60.22, -8.62)
CIE-LCHlch(51.79, 60.84, 351.85°)
OKLaboklab(60.88% 0.1839 -0.0221)
OKLCHoklch(60.88% 0.185 353.2)
XYZxyz(33.2832, 19.9589, 26.9055)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1478C #47D18C
analogous
#D147D1 #D1478C #D14747
triadic
#D1478C #8CD147 #478CD1
tetradic
#D1478C #D1D147 #47D18C #4747D1
square
#D1478C #D1D147 #47D18C #4747D1
split-complementary
#D1478C #47D147 #47D1D1
monochromatic
#7E204F #AF2C6D #D1478C #DD78AB #E9A9C9

Accessibility & contrast

On white

4.21
#D1478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D1478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1478C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1478C#FFFFFF#000000##000000
##D1478C1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8E
Deuteranopia (green-blind)
#838589
Tritanopia (blue-blind)
#E03D64
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d1478c;
/* rgb */ color: rgb(209, 71, 140);
/* oklch */ color: oklch(60.9% 0.185 353.2);
Tailwind
colors: {
  custom: {
    50: '#e383ad',
    500: '#d1478c',
    950: '#000000',
  },
}
SCSS
$custom: #d1478c;
$custom-light: #e383ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d1478c",
  "rgb": {
    "r": 209,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 330,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.18522,
    "h": 353.2
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#D1478C
secondary
#9DD7BA
accent
#E39445
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D1478C

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

Preview Lab → · Contrast checker → · Palette generator →

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