#D2478F#D2478F

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

Color values

HEX#D2478F
RGBrgb(210, 71, 143)
HSLhsl(329, 61%, 55%)
HSVhsv(329, 66%, 82%)
CMYKcmyk(0%, 66.2%, 31.9%, 17.6%)
CIE-LABlab(52.06, 60.86, -9.99)
CIE-LCHlch(52.06, 61.67, 350.67°)
OKLaboklab(61.14% 0.1857 -0.0258)
OKLCHoklch(61.14% 0.187 352.1)
XYZxyz(33.7913, 20.1950, 28.0998)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2478F #47D28A
analogous
#D047D2 #D2478F #D24749
triadic
#D2478F #8FD247 #478FD2
tetradic
#D2478F #D2D047 #47D28A #4749D2
square
#D2478F #D2D047 #47D28A #4749D2
split-complementary
#D2478F #49D247 #47D2D0
monochromatic
#7F1F51 #B12B70 #D2478F #DE78AD #EAA9CB

Accessibility & contrast

On white

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

On black

5.04
#D2478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2478F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2478F#FFFFFF#000000##000000
##D2478F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#E13E65
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d2478f;
/* rgb */ color: rgb(210, 71, 143);
/* oklch */ color: oklch(61.1% 0.187 352.1);
Tailwind
colors: {
  custom: {
    50: '#e483af',
    500: '#d2478f',
    950: '#000000',
  },
}
SCSS
$custom: #d2478f;
$custom-light: #e483af;
$custom-dark: #000000;
JSON
{
  "hex": "#d2478f",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 328.921,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.18746,
    "h": 352.1
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#D2478F
secondary
#9DD8B9
accent
#E49144
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D2478F

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

Preview Lab → · Contrast checker → · Palette generator →

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