#D2478E#D2478E

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

Color values

HEX#D2478E
RGBrgb(210, 71, 142)
HSLhsl(329, 61%, 55%)
HSVhsv(329, 66%, 82%)
CMYKcmyk(0%, 66.2%, 32.4%, 17.6%)
CIE-LABlab(52.02, 60.74, -9.45)
CIE-LCHlch(52.02, 61.47, 351.16°)
OKLaboklab(61.1% 0.1854 -0.0243)
OKLCHoklch(61.1% 0.187 352.5)
XYZxyz(33.7159, 20.1648, 27.7026)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2478E #47D28B
analogous
#D147D2 #D2478E #D24748
triadic
#D2478E #8ED247 #478ED2
tetradic
#D2478E #D2D147 #47D28B #4748D2
square
#D2478E #D2D147 #47D28B #4748D2
split-complementary
#D2478E #48D247 #47D2D1
monochromatic
#7F1F50 #B12B6F #D2478E #DE78AC #EAA9CA

Accessibility & contrast

On white

4.17
#D2478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2478E#FFFFFF#000000##000000
##D2478E1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#84858B
Tritanopia (blue-blind)
#E13E65
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d2478e;
/* rgb */ color: rgb(210, 71, 142);
/* oklch */ color: oklch(61.1% 0.187 352.5);
Tailwind
colors: {
  custom: {
    50: '#e483af',
    500: '#d2478e',
    950: '#000000',
  },
}
SCSS
$custom: #d2478e;
$custom-light: #e483af;
$custom-dark: #000000;
JSON
{
  "hex": "#d2478e",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 329.353,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.611,
    "c": 0.18699,
    "h": 352.5
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2478E

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

Preview Lab → · Contrast checker → · Palette generator →

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