#D2478B#D2478B

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

Color values

HEX#D2478B
RGBrgb(210, 71, 139)
HSLhsl(331, 61%, 55%)
HSVhsv(331, 66%, 82%)
CMYKcmyk(0%, 66.2%, 33.8%, 17.6%)
CIE-LABlab(51.92, 60.39, -7.81)
CIE-LCHlch(51.92, 60.90, 352.63°)
OKLaboklab(60.99% 0.1845 -0.0199)
OKLCHoklch(60.99% 0.186 353.8)
XYZxyz(33.4937, 20.0759, 26.5323)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2478B #47D28E
analogous
#D247D1 #D2478B #D24847
triadic
#D2478B #8BD247 #478BD2
tetradic
#D2478B #D1D247 #47D28E #4847D2
square
#D2478B #D1D247 #47D28E #4847D2
split-complementary
#D2478B #47D248 #47D1D2
monochromatic
#7F1F4E #B12B6C #D2478B #DE78AA #EAA9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2478B#FFFFFF#000000##000000
##D2478B1.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)
#5E6C8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#E23D63
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d2478b;
/* rgb */ color: rgb(210, 71, 139);
/* oklch */ color: oklch(61.0% 0.186 353.8);
Tailwind
colors: {
  custom: {
    50: '#e483ac',
    500: '#d2478b',
    950: '#000000',
  },
}
SCSS
$custom: #d2478b;
$custom-light: #e483ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2478b",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 330.647,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.18561,
    "h": 353.8
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2478B

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

Preview Lab → · Contrast checker → · Palette generator →

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