#D1478B#D1478B

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

Color values

HEX#D1478B
RGBrgb(209, 71, 139)
HSLhsl(330, 60%, 55%)
HSVhsv(330, 66%, 82%)
CMYKcmyk(0%, 66%, 33.5%, 18%)
CIE-LABlab(51.76, 60.11, -8.08)
CIE-LCHlch(51.76, 60.65, 352.35°)
OKLaboklab(60.84% 0.1836 -0.0206)
OKLCHoklch(60.84% 0.185 353.6)
XYZxyz(33.2098, 19.9296, 26.5190)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1478B #47D18D
analogous
#D147D0 #D1478B #D14847
triadic
#D1478B #8BD147 #478BD1
tetradic
#D1478B #D0D147 #47D18D #4847D1
square
#D1478B #D0D147 #47D18D #4847D1
split-complementary
#D1478B #47D148 #47D0D1
monochromatic
#7E204E #AF2C6C #D1478B #DD78AA #E9A9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1478B#FFFFFF#000000##000000
##D1478B1.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)
#5D6B8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#E13D63
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d1478b;
/* rgb */ color: rgb(209, 71, 139);
/* oklch */ color: oklch(60.8% 0.185 353.6);
Tailwind
colors: {
  custom: {
    50: '#e383ac',
    500: '#d1478b',
    950: '#000000',
  },
}
SCSS
$custom: #d1478b;
$custom-light: #e383ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d1478b",
  "rgb": {
    "r": 209,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 330.435,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.18476,
    "h": 353.6
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1478B

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

Preview Lab → · Contrast checker → · Palette generator →

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