#D5478D#D5478D

#D5478D is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.189 H 353.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D5478D
RGBrgb(213, 71, 141)
HSLhsl(330, 63%, 56%)
HSVhsv(330, 67%, 84%)
CMYKcmyk(0%, 66.7%, 33.8%, 16.5%)
CIE-LABlab(52.49, 61.48, -8.11)
CIE-LCHlch(52.49, 62.01, 352.48°)
OKLaboklab(61.53% 0.1879 -0.0207)
OKLCHoklch(61.53% 0.189 353.7)
XYZxyz(34.5035, 20.5796, 27.3494)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5478D #47D58F
analogous
#D547D4 #D5478D #D54847
triadic
#D5478D #8DD547 #478DD5
tetradic
#D5478D #D4D547 #47D58F #4847D5
square
#D5478D #D4D547 #47D58F #4847D5
split-complementary
#D5478D #47D548 #47D4D5
monochromatic
#841E50 #B5296E #D5478D #E079AC #ECABCB

Accessibility & contrast

On white

4.11
#D5478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D5478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5478D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5478D#FFFFFF#000000##000000
##D5478D1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D8F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#E53C64
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d5478d;
/* rgb */ color: rgb(213, 71, 141);
/* oklch */ color: oklch(61.5% 0.189 353.7);
Tailwind
colors: {
  custom: {
    50: '#e683ae',
    500: '#d5478d',
    950: '#000000',
  },
}
SCSS
$custom: #d5478d;
$custom-light: #e683ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d5478d",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 330.423,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61525,
    "c": 0.18903,
    "h": 353.7
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#D5478D
secondary
#9ED9BC
accent
#E69542
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5478D

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

Preview Lab → · Contrast checker → · Palette generator →

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