#D478AB#D478AB

#D478AB is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.9% C 0.130 H 346.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D478AB
RGBrgb(212, 120, 171)
HSLhsl(327, 52%, 65%)
HSVhsv(327, 43%, 83%)
CMYKcmyk(0%, 43.4%, 19.3%, 16.9%)
CIE-LABlab(61.97, 42.37, -11.39)
CIE-LCHlch(61.97, 43.87, 344.95°)
OKLaboklab(68.9% 0.1262 -0.0299)
OKLCHoklch(68.9% 0.13 346.7)
XYZxyz(41.2193, 30.3731, 42.2118)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478AB #78D4A1
analogous
#CF78D4 #D478AB #D4787D
triadic
#D478AB #ABD478 #78ABD4
tetradic
#D478AB #D4CF78 #78D4A1 #787DD4
square
#D478AB #D4CF78 #78D4A1 #787DD4
split-complementary
#D478AB #7DD478 #78D4CF
monochromatic
#9F336F #C54A8E #D478AB #E3A6C8 #F2D5E5

Accessibility & contrast

On white

2.97
#D478AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D478AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478AB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478AB#FFFFFF#000000##000000
##D478AB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CAD
Deuteranopia (green-blind)
#979BA9
Tritanopia (blue-blind)
#DF778B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d478ab;
/* rgb */ color: rgb(212, 120, 171);
/* oklch */ color: oklch(68.9% 0.130 346.7);
Tailwind
colors: {
  custom: {
    50: '#e3a1c4',
    500: '#d478ab',
    950: '#000000',
  },
}
SCSS
$custom: #d478ab;
$custom-light: #e3a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d478ab",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 326.739,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.12965,
    "h": 346.7
  },
  "luminance": 0.3037
}

Semantic roles & 50–950 ramp

primary
#D478AB
secondary
#C4E3D2
accent
#BF6A26
background
#FEFAFC
surface
#FCF3F8
border
#D5CDD1
text
#160F12
muted
#847F81

Preview Lab

Preview with #D478AB

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

Preview Lab → · Contrast checker → · Palette generator →

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