#B04478#B04478

#B04478 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.151 H 353.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B04478
RGBrgb(176, 68, 120)
HSLhsl(331, 44%, 48%)
HSVhsv(331, 61%, 69%)
CMYKcmyk(0%, 61.4%, 31.8%, 31%)
CIE-LABlab(45.25, 49.19, -6.89)
CIE-LCHlch(45.25, 49.67, 352.03°)
OKLaboklab(54.78% 0.1497 -0.0176)
OKLCHoklch(54.78% 0.151 353.3)
XYZxyz(23.3629, 14.7228, 19.3771)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04478 #44B07C
analogous
#B044AE #B04478 #B04644
triadic
#B04478 #78B044 #4478B0
tetradic
#B04478 #AEB044 #44B07C #4644B0
square
#B04478 #AEB044 #44B07C #4644B0
split-complementary
#B04478 #44B046 #44AEB0
monochromatic
#58223C #84335A #B04478 #C66B97 #D797B6

Accessibility & contrast

On white

5.32
#B04478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B04478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04478
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04478#FFFFFF#000000##FFFFFF
##B044781.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7A
Deuteranopia (green-blind)
#717275
Tritanopia (blue-blind)
#BD3E59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b04478;
/* rgb */ color: rgb(176, 68, 120);
/* oklch */ color: oklch(54.8% 0.151 353.3);
Tailwind
colors: {
  custom: {
    50: '#cb7e9f',
    500: '#b04478',
    950: '#000000',
  },
}
SCSS
$custom: #b04478;
$custom-light: #cb7e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b04478",
  "rgb": {
    "r": 176,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 331.111,
    "s": 44.262,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.15077,
    "h": 353.3
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#B04478
secondary
#8DC3A9
accent
#D49654
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04478

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

Preview Lab → · Contrast checker → · Palette generator →

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