#D2478C#D2478C

#D2478C is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.186 H 353.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D2478C
RGBrgb(210, 71, 140)
HSLhsl(330, 61%, 55%)
HSVhsv(330, 66%, 82%)
CMYKcmyk(0%, 66.2%, 33.3%, 17.6%)
CIE-LABlab(51.96, 60.51, -8.36)
CIE-LCHlch(51.96, 61.08, 352.13°)
OKLaboklab(61.03% 0.1848 -0.0214)
OKLCHoklch(61.03% 0.186 353.4)
XYZxyz(33.5670, 20.1053, 26.9188)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2478C #47D28D
analogous
#D247D1 #D2478C #D24747
triadic
#D2478C #8CD247 #478CD2
tetradic
#D2478C #D1D247 #47D28D #4747D2
square
#D2478C #D1D247 #47D28D #4747D2
split-complementary
#D2478C #47D247 #47D1D2
monochromatic
#7F1F4F #B12B6D #D2478C #DE78AB #EAA9C9

Accessibility & contrast

On white

4.18
#D2478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D2478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2478C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2478C#FFFFFF#000000##000000
##D2478C1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8E
Deuteranopia (green-blind)
#848589
Tritanopia (blue-blind)
#E23D64
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d2478c;
/* rgb */ color: rgb(210, 71, 140);
/* oklch */ color: oklch(61.0% 0.186 353.4);
Tailwind
colors: {
  custom: {
    50: '#e483ad',
    500: '#d2478c',
    950: '#000000',
  },
}
SCSS
$custom: #d2478c;
$custom-light: #e483ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2478c",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 330.216,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.18606,
    "h": 353.4
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2478C

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

Preview Lab → · Contrast checker → · Palette generator →

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