#D5478C#D5478C

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

Color values

HEX#D5478C
RGBrgb(213, 71, 140)
HSLhsl(331, 63%, 56%)
HSVhsv(331, 67%, 84%)
CMYKcmyk(0%, 66.7%, 34.3%, 16.5%)
CIE-LABlab(52.45, 61.37, -7.56)
CIE-LCHlch(52.45, 61.83, 352.97°)
OKLaboklab(61.49% 0.1876 -0.0192)
OKLCHoklch(61.49% 0.189 354.2)
XYZxyz(34.4294, 20.5500, 26.9593)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5478C #47D590
analogous
#D547D3 #D5478C #D54947
triadic
#D5478C #8CD547 #478CD5
tetradic
#D5478C #D3D547 #47D590 #4947D5
square
#D5478C #D3D547 #47D590 #4947D5
split-complementary
#D5478C #47D549 #47D3D5
monochromatic
#841E4F #B5296D #D5478C #E079AB #ECABCA

Accessibility & contrast

On white

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

On black

5.11
#D5478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5478C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5478C#FFFFFF#000000##000000
##D5478C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#E53C64
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d5478c;
/* rgb */ color: rgb(213, 71, 140);
/* oklch */ color: oklch(61.5% 0.189 354.2);
Tailwind
colors: {
  custom: {
    50: '#e683ad',
    500: '#d5478c',
    950: '#000000',
  },
}
SCSS
$custom: #d5478c;
$custom-light: #e683ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5478c",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 330.845,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.18859,
    "h": 354.2
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5478C

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

Preview Lab → · Contrast checker → · Palette generator →

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