#D478BF#D478BF

#D478BF is a light, vivid pink. Relative luminance 0.312; OKLCH L 69.7% C 0.144 H 336.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D478BF
RGBrgb(212, 120, 191)
HSLhsl(314, 52%, 65%)
HSVhsv(314, 43%, 83%)
CMYKcmyk(0%, 43.4%, 9.9%, 16.9%)
CIE-LABlab(62.67, 45.54, -21.71)
CIE-LCHlch(62.67, 50.45, 334.52°)
OKLaboklab(69.65% 0.1318 -0.0584)
OKLCHoklch(69.65% 0.144 336.1)
XYZxyz(43.2718, 31.1942, 53.0220)
Luminance0.3119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478BF #78D48D
analogous
#BB78D4 #D478BF #D47891
triadic
#D478BF #BFD478 #78BFD4
tetradic
#D478BF #D4BB78 #78D48D #7891D4
square
#D478BF #D4BB78 #78D48D #7891D4
split-complementary
#D478BF #91D478 #78D4BB
monochromatic
#9F3386 #C54AA9 #D478BF #E3A6D5 #F2D5EB

Accessibility & contrast

On white

2.90
#D478BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#D478BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478BF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478BF#FFFFFF#000000##000000
##D478BF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798FC2
Deuteranopia (green-blind)
#919DBC
Tritanopia (blue-blind)
#DC7C93
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d478bf;
/* rgb */ color: rgb(212, 120, 191);
/* oklch */ color: oklch(69.7% 0.144 336.1);
Tailwind
colors: {
  custom: {
    50: '#e3a1d2',
    500: '#d478bf',
    950: '#000000',
  },
}
SCSS
$custom: #d478bf;
$custom-light: #e3a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d478bf",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 313.696,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69653,
    "c": 0.14414,
    "h": 336.1
  },
  "luminance": 0.31192
}

Semantic roles & 50–950 ramp

primary
#D478BF
secondary
#C4E3CB
accent
#BF4926
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D478BF

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

Preview Lab → · Contrast checker → · Palette generator →

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