#D478BC#D478BC

#D478BC is a light, vivid pink. Relative luminance 0.311; OKLCH L 69.5% C 0.142 H 337.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D478BC
RGBrgb(212, 120, 188)
HSLhsl(316, 52%, 65%)
HSVhsv(316, 43%, 83%)
CMYKcmyk(0%, 43.4%, 11.3%, 16.9%)
CIE-LABlab(62.56, 45.05, -20.18)
CIE-LCHlch(62.56, 49.36, 335.87°)
OKLaboklab(69.53% 0.131 -0.0541)
OKLCHoklch(69.53% 0.142 337.6)
XYZxyz(42.9451, 31.0635, 51.3011)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478BC #78D490
analogous
#BE78D4 #D478BC #D4788E
triadic
#D478BC #BCD478 #78BCD4
tetradic
#D478BC #D4BE78 #78D490 #788ED4
square
#D478BC #D4BE78 #78D490 #788ED4
split-complementary
#D478BC #8ED478 #78D4BE
monochromatic
#9F3383 #C54AA5 #D478BC #E3A6D3 #F2D5EA

Accessibility & contrast

On white

2.91
#D478BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D478BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478BC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478BC#FFFFFF#000000##000000
##D478BC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8FBE
Deuteranopia (green-blind)
#929CB9
Tritanopia (blue-blind)
#DD7B92
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d478bc;
/* rgb */ color: rgb(212, 120, 188);
/* oklch */ color: oklch(69.5% 0.142 337.6);
Tailwind
colors: {
  custom: {
    50: '#e3a1d0',
    500: '#d478bc',
    950: '#000000',
  },
}
SCSS
$custom: #d478bc;
$custom-light: #e3a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d478bc",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 315.652,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69534,
    "c": 0.14175,
    "h": 337.6
  },
  "luminance": 0.31061
}

Semantic roles & 50–950 ramp

primary
#D478BC
secondary
#C4E3CC
accent
#BF4E26
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D478BC

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

Preview Lab → · Contrast checker → · Palette generator →

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