#D2478A#D2478A

#D2478A is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.185 H 354.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D2478A
RGBrgb(210, 71, 138)
HSLhsl(331, 61%, 55%)
HSVhsv(331, 66%, 82%)
CMYKcmyk(0%, 66.2%, 34.3%, 17.6%)
CIE-LABlab(51.89, 60.28, -7.26)
CIE-LCHlch(51.89, 60.72, 353.13°)
OKLaboklab(60.96% 0.1842 -0.0184)
OKLCHoklch(60.96% 0.185 354.3)
XYZxyz(33.4209, 20.0469, 26.1492)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2478A #47D28F
analogous
#D247D0 #D2478A #D24947
triadic
#D2478A #8AD247 #478AD2
tetradic
#D2478A #D0D247 #47D28F #4947D2
square
#D2478A #D0D247 #47D28F #4947D2
split-complementary
#D2478A #47D249 #47D0D2
monochromatic
#7F1F4E #B12B6C #D2478A #DE78A9 #EAA9C9

Accessibility & contrast

On white

4.19
#D2478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D2478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2478A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2478A#FFFFFF#000000##000000
##D2478A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8C
Deuteranopia (green-blind)
#858587
Tritanopia (blue-blind)
#E23C63
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d2478a;
/* rgb */ color: rgb(210, 71, 138);
/* oklch */ color: oklch(61.0% 0.185 354.3);
Tailwind
colors: {
  custom: {
    50: '#e483ac',
    500: '#d2478a',
    950: '#000000',
  },
}
SCSS
$custom: #d2478a;
$custom-light: #e483ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2478a",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 331.079,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.18516,
    "h": 354.3
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#D2478A
secondary
#9DD8BB
accent
#E49744
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D2478A

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

Preview Lab → · Contrast checker → · Palette generator →

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