#D478BB#D478BB

#D478BB is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.5% C 0.141 H 338.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D478BB
RGBrgb(212, 120, 187)
HSLhsl(316, 52%, 65%)
HSVhsv(316, 43%, 83%)
CMYKcmyk(0%, 43.4%, 11.8%, 16.9%)
CIE-LABlab(62.52, 44.88, -19.67)
CIE-LCHlch(62.52, 49.00, 336.34°)
OKLaboklab(69.49% 0.1307 -0.0527)
OKLCHoklch(69.49% 0.141 338)
XYZxyz(42.8376, 31.0205, 50.7353)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478BB #78D491
analogous
#BF78D4 #D478BB #D4788D
triadic
#D478BB #BBD478 #78BBD4
tetradic
#D478BB #D4BF78 #78D491 #788DD4
square
#D478BB #D4BF78 #78D491 #788DD4
split-complementary
#D478BB #8DD478 #78D4BF
monochromatic
#9F3382 #C54AA4 #D478BB #E3A6D2 #F2D5EA

Accessibility & contrast

On white

2.92
#D478BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D478BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478BB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478BB#FFFFFF#000000##000000
##D478BB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBD
Deuteranopia (green-blind)
#939CB8
Tritanopia (blue-blind)
#DD7B91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d478bb;
/* rgb */ color: rgb(212, 120, 187);
/* oklch */ color: oklch(69.5% 0.141 338.0);
Tailwind
colors: {
  custom: {
    50: '#e3a1cf',
    500: '#d478bb',
    950: '#000000',
  },
}
SCSS
$custom: #d478bb;
$custom-light: #e3a1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d478bb",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 316.304,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69495,
    "c": 0.14097,
    "h": 338
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#D478BB
secondary
#C4E3CD
accent
#BF5026
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#160F13
muted
#847F82

Preview Lab

Preview with #D478BB

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

Preview Lab → · Contrast checker → · Palette generator →

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