#D5478E#D5478E

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

Color values

HEX#D5478E
RGBrgb(213, 71, 142)
HSLhsl(330, 63%, 56%)
HSVhsv(330, 67%, 84%)
CMYKcmyk(0%, 66.7%, 33.3%, 16.5%)
CIE-LABlab(52.52, 61.59, -8.66)
CIE-LCHlch(52.52, 62.20, 352.00°)
OKLaboklab(61.56% 0.1882 -0.0221)
OKLCHoklch(61.56% 0.189 353.3)
XYZxyz(34.5782, 20.6095, 27.7430)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5478E #47D58E
analogous
#D547D5 #D5478E #D54747
triadic
#D5478E #8ED547 #478ED5
tetradic
#D5478E #D5D547 #47D58E #4747D5
square
#D5478E #D5D547 #47D58E #4747D5
split-complementary
#D5478E #47D547 #47D5D5
monochromatic
#841E51 #B5296F #D5478E #E079AD #ECABCB

Accessibility & contrast

On white

4.10
#D5478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5478E#FFFFFF#000000##000000
##D5478E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#86878B
Tritanopia (blue-blind)
#E53D65
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d5478e;
/* rgb */ color: rgb(213, 71, 142);
/* oklch */ color: oklch(61.6% 0.189 353.3);
Tailwind
colors: {
  custom: {
    50: '#e683af',
    500: '#d5478e',
    950: '#000000',
  },
}
SCSS
$custom: #d5478e;
$custom-light: #e683af;
$custom-dark: #000000;
JSON
{
  "hex": "#d5478e",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 330,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.18948,
    "h": 353.3
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5478E

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

Preview Lab → · Contrast checker → · Palette generator →

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