#D5478B#D5478B

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

Color values

HEX#D5478B
RGBrgb(213, 71, 139)
HSLhsl(331, 63%, 56%)
HSVhsv(331, 67%, 84%)
CMYKcmyk(0%, 66.7%, 34.7%, 16.5%)
CIE-LABlab(52.42, 61.25, -7.02)
CIE-LCHlch(52.42, 61.65, 353.46°)
OKLaboklab(61.46% 0.1873 -0.0177)
OKLCHoklch(61.46% 0.188 354.6)
XYZxyz(34.3560, 20.5206, 26.5727)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5478B #47D591
analogous
#D547D2 #D5478B #D54A47
triadic
#D5478B #8BD547 #478BD5
tetradic
#D5478B #D2D547 #47D591 #4A47D5
square
#D5478B #D2D547 #47D591 #4A47D5
split-complementary
#D5478B #47D54A #47D2D5
monochromatic
#841E4F #B5296C #D5478B #E079AA #ECABCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5478B#FFFFFF#000000##000000
##D5478B1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8D
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#E53C63
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d5478b;
/* rgb */ color: rgb(213, 71, 139);
/* oklch */ color: oklch(61.5% 0.188 354.6);
Tailwind
colors: {
  custom: {
    50: '#e683ac',
    500: '#d5478b',
    950: '#000000',
  },
}
SCSS
$custom: #d5478b;
$custom-light: #e683ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d5478b",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 331.268,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.18815,
    "h": 354.6
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#D5478B
secondary
#9ED9BD
accent
#E69742
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5478B

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

Preview Lab → · Contrast checker → · Palette generator →

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