#D2478D#D2478D

#D2478D is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.187 H 353.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D2478D
RGBrgb(210, 71, 141)
HSLhsl(330, 61%, 55%)
HSVhsv(330, 66%, 82%)
CMYKcmyk(0%, 66.2%, 32.9%, 17.6%)
CIE-LABlab(51.99, 60.63, -8.90)
CIE-LCHlch(51.99, 61.28, 351.64°)
OKLaboklab(61.06% 0.1851 -0.0228)
OKLCHoklch(61.06% 0.187 353)
XYZxyz(33.6411, 20.1349, 27.3089)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2478D #47D28C
analogous
#D147D2 #D2478D #D24747
triadic
#D2478D #8DD247 #478DD2
tetradic
#D2478D #D2D147 #47D28C #4747D2
square
#D2478D #D2D147 #47D28C #4747D2
split-complementary
#D2478D #47D247 #47D2D1
monochromatic
#7F1F50 #B12B6E #D2478D #DE78AB #EAA9CA

Accessibility & contrast

On white

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

On black

5.03
#D2478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2478D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2478D#FFFFFF#000000##000000
##D2478D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#E13E64
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d2478d;
/* rgb */ color: rgb(210, 71, 141);
/* oklch */ color: oklch(61.1% 0.187 353.0);
Tailwind
colors: {
  custom: {
    50: '#e483ae',
    500: '#d2478d',
    950: '#000000',
  },
}
SCSS
$custom: #d2478d;
$custom-light: #e483ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d2478d",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 329.784,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.18652,
    "h": 353
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#D2478D
secondary
#9DD8BA
accent
#E49344
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D2478D

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

Preview Lab → · Contrast checker → · Palette generator →

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