#D54178#D54178

#D54178 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.189 H 2.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D54178
RGBrgb(213, 65, 120)
HSLhsl(338, 64%, 55%)
HSVhsv(338, 69%, 84%)
CMYKcmyk(0%, 69.5%, 43.7%, 16.5%)
CIE-LABlab(51.02, 61.55, 2.31)
CIE-LCHlch(51.02, 61.60, 2.15°)
OKLaboklab(60.23% 0.1885 0.0067)
OKLCHoklch(60.23% 0.189 2)
XYZxyz(32.7235, 19.2869, 19.7652)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54178 #41D59E
analogous
#D541C2 #D54178 #D55441
triadic
#D54178 #78D541 #4178D5
tetradic
#D54178 #C2D541 #41D59E #5441D5
square
#D54178 #C2D541 #41D59E #5441D5
split-complementary
#D54178 #41D554 #41C2D5
monochromatic
#7F1C41 #B2275B #D54178 #E0739C #EBA5BF

Accessibility & contrast

On white

4.32
#D54178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D54178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54178
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54178#FFFFFF#000000##000000
##D541781.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d54178;
/* rgb */ color: rgb(213, 65, 120);
/* oklch */ color: oklch(60.2% 0.189 2.0);
Tailwind
colors: {
  custom: {
    50: '#e7809e',
    500: '#d54178',
    950: '#000000',
  },
}
SCSS
$custom: #d54178;
$custom-light: #e7809e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54178",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 337.703,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.18857,
    "h": 2
  },
  "luminance": 0.19283
}

Semantic roles & 50–950 ramp

primary
#D54178
secondary
#9AD8C1
accent
#E7A941
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54178

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

Preview Lab → · Contrast checker → · Palette generator →

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