#D54078#D54078

#D54078 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.1% C 0.190 H 1.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D54078
RGBrgb(213, 64, 120)
HSLhsl(337, 64%, 54%)
HSVhsv(337, 70%, 84%)
CMYKcmyk(0%, 70%, 43.7%, 16.5%)
CIE-LABlab(50.89, 61.92, 2.12)
CIE-LCHlch(50.89, 61.96, 1.96°)
OKLaboklab(60.14% 0.1896 0.0062)
OKLCHoklch(60.14% 0.19 1.9)
XYZxyz(32.6666, 19.1731, 19.7462)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54078 #40D59D
analogous
#D540C2 #D54078 #D55340
triadic
#D54078 #78D540 #4078D5
tetradic
#D54078 #C2D540 #40D59D #5340D5
square
#D54078 #C2D540 #40D59D #5340D5
split-complementary
#D54078 #40D553 #40C2D5
monochromatic
#7F1C41 #B1275B #D54078 #E0729B #EBA4BF

Accessibility & contrast

On white

4.34
#D54078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D54078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54078
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54078#FFFFFF#000000##000000
##D540781.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#E72A57
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d54078;
/* rgb */ color: rgb(213, 64, 120);
/* oklch */ color: oklch(60.1% 0.190 1.9);
Tailwind
colors: {
  custom: {
    50: '#e7809e',
    500: '#d54078',
    950: '#000000',
  },
}
SCSS
$custom: #d54078;
$custom-light: #e7809e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54078",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 337.45,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.18972,
    "h": 1.9
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#D54078
secondary
#99D8C0
accent
#E7A941
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54078

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

Preview Lab → · Contrast checker → · Palette generator →

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