#D1478D#D1478D

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

Color values

HEX#D1478D
RGBrgb(209, 71, 141)
HSLhsl(330, 60%, 55%)
HSVhsv(330, 66%, 82%)
CMYKcmyk(0%, 66%, 32.5%, 18%)
CIE-LABlab(51.82, 60.34, -9.17)
CIE-LCHlch(51.82, 61.03, 351.36°)
OKLaboklab(60.91% 0.1842 -0.0236)
OKLCHoklch(60.91% 0.186 352.7)
XYZxyz(33.3572, 19.9886, 27.2956)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1478D #47D18B
analogous
#D047D1 #D1478D #D14748
triadic
#D1478D #8DD147 #478DD1
tetradic
#D1478D #D1D047 #47D18B #4748D1
square
#D1478D #D1D047 #47D18B #4748D1
split-complementary
#D1478D #48D147 #47D1D0
monochromatic
#7E204F #AF2C6E #D1478D #DD78AB #E9A9CA

Accessibility & contrast

On white

4.20
#D1478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D1478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1478D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1478D#FFFFFF#000000##000000
##D1478D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#83858A
Tritanopia (blue-blind)
#E03E64
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d1478d;
/* rgb */ color: rgb(209, 71, 141);
/* oklch */ color: oklch(60.9% 0.186 352.7);
Tailwind
colors: {
  custom: {
    50: '#e383ae',
    500: '#d1478d',
    950: '#000000',
  },
}
SCSS
$custom: #d1478d;
$custom-light: #e383ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d1478d",
  "rgb": {
    "r": 209,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 329.565,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.18568,
    "h": 352.7
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#D1478D
secondary
#9DD7B9
accent
#E39345
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D1478D

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

Preview Lab → · Contrast checker → · Palette generator →

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