#D34878#D34878

#D34878 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.178 H 2.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D34878
RGBrgb(211, 72, 120)
HSLhsl(339, 61%, 55%)
HSVhsv(339, 66%, 83%)
CMYKcmyk(0%, 65.9%, 43.1%, 17.3%)
CIE-LABlab(51.66, 58.26, 3.19)
CIE-LCHlch(51.66, 58.35, 3.14°)
OKLaboklab(60.64% 0.1781 0.0089)
OKLCHoklch(60.64% 0.178 2.9)
XYZxyz(32.5738, 19.8436, 19.8805)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34878 #48D3A3
analogous
#D348BD #D34878 #D35E48
triadic
#D34878 #78D348 #4878D3
tetradic
#D34878 #BDD348 #48D3A3 #5E48D3
square
#D34878 #BDD348 #48D3A3 #5E48D3
split-complementary
#D34878 #48D35E #48BDD3
monochromatic
#811F41 #B32B5A #D34878 #DF799C #EBABC1

Accessibility & contrast

On white

4.23
#D34878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D34878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34878
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34878#FFFFFF#000000##000000
##D348781.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656A79
Deuteranopia (green-blind)
#8A8575
Tritanopia (blue-blind)
#E4365B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d34878;
/* rgb */ color: rgb(211, 72, 120);
/* oklch */ color: oklch(60.6% 0.178 2.9);
Tailwind
colors: {
  custom: {
    50: '#e6839e',
    500: '#d34878',
    950: '#000000',
  },
}
SCSS
$custom: #d34878;
$custom-light: #e6839e;
$custom-dark: #000000;
JSON
{
  "hex": "#d34878",
  "rgb": {
    "r": 211,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 339.281,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.17831,
    "h": 2.9
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

primary
#D34878
secondary
#9ED8C4
accent
#E4AD43
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D34878

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

Preview Lab → · Contrast checker → · Palette generator →

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