#D13878#D13878

#D13878 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.7% C 0.195 H 359.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D13878
RGBrgb(209, 56, 120)
HSLhsl(335, 62%, 52%)
HSVhsv(335, 73%, 82%)
CMYKcmyk(0%, 73.2%, 42.6%, 18%)
CIE-LABlab(49.18, 63.58, -0.45)
CIE-LCHlch(49.18, 63.59, 359.59°)
OKLaboklab(58.75% 0.1951 -0.0004)
OKLCHoklch(58.75% 0.195 359.9)
XYZxyz(31.1012, 17.7437, 19.5528)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D13878 #38D191
analogous
#D138C5 #D13878 #D14538
triadic
#D13878 #78D138 #3878D1
tetradic
#D13878 #C5D138 #38D191 #4538D1
square
#D13878 #C5D138 #38D191 #4538D1
split-complementary
#D13878 #38D145 #38C5D1
monochromatic
#741B40 #A6265C #D13878 #DC6A9A #E89BBB

Accessibility & contrast

On white

4.62
#D13878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#D13878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D13878
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D13878#FFFFFF#000000##FFFFFF
##D138781.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#838074
Tritanopia (blue-blind)
#E22053
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d13878;
/* rgb */ color: rgb(209, 56, 120);
/* oklch */ color: oklch(58.7% 0.195 359.9);
Tailwind
colors: {
  custom: {
    50: '#e57b9e',
    500: '#d13878',
    950: '#000000',
  },
}
SCSS
$custom: #d13878;
$custom-light: #e57b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d13878",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 334.902,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58748,
    "c": 0.19511,
    "h": 359.9
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#D13878
secondary
#91D4B8
accent
#E6A142
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D13878

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

Preview Lab → · Contrast checker → · Palette generator →

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