#D5478A#D5478A

#D5478A is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.188 H 355.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D5478A
RGBrgb(213, 71, 138)
HSLhsl(332, 63%, 56%)
HSVhsv(332, 67%, 84%)
CMYKcmyk(0%, 66.7%, 35.2%, 16.5%)
CIE-LABlab(52.39, 61.14, -6.47)
CIE-LCHlch(52.39, 61.48, 353.96°)
OKLaboklab(61.42% 0.187 -0.0163)
OKLCHoklch(61.42% 0.188 355)
XYZxyz(34.2833, 20.4915, 26.1897)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5478A #47D592
analogous
#D547D1 #D5478A #D54B47
triadic
#D5478A #8AD547 #478AD5
tetradic
#D5478A #D1D547 #47D592 #4B47D5
square
#D5478A #D1D547 #47D592 #4B47D5
split-complementary
#D5478A #47D54B #47D1D5
monochromatic
#841E4E #B5296B #D5478A #E079AA #ECABC9

Accessibility & contrast

On white

4.12
#D5478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D5478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5478A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5478A#FFFFFF#000000##000000
##D5478A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#E53B63
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d5478a;
/* rgb */ color: rgb(213, 71, 138);
/* oklch */ color: oklch(61.4% 0.188 355.0);
Tailwind
colors: {
  custom: {
    50: '#e683ac',
    500: '#d5478a',
    950: '#000000',
  },
}
SCSS
$custom: #d5478a;
$custom-light: #e683ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d5478a",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 331.69,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.18772,
    "h": 355
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#D5478A
secondary
#9ED9BE
accent
#E69942
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5478A

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

Preview Lab → · Contrast checker → · Palette generator →

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