#B04178#B04178

#B04178 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.4% C 0.155 H 352.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B04178
RGBrgb(176, 65, 120)
HSLhsl(330, 46%, 47%)
HSVhsv(330, 63%, 69%)
CMYKcmyk(0%, 63.1%, 31.8%, 31%)
CIE-LABlab(44.76, 50.53, -7.63)
CIE-LCHlch(44.76, 51.10, 351.42°)
OKLaboklab(54.41% 0.1539 -0.0196)
OKLCHoklch(54.41% 0.155 352.7)
XYZxyz(23.1861, 14.3692, 19.3181)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04178 #41B079
analogous
#B041B0 #B04178 #B04141
triadic
#B04178 #78B041 #4178B0
tetradic
#B04178 #B0B041 #41B079 #4141B0
square
#B04178 #B0B041 #41B079 #4141B0
split-complementary
#B04178 #41B041 #41B0B0
monochromatic
#57203B #83305A #B04178 #C76797 #D794B5

Accessibility & contrast

On white

5.42
#B04178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B04178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04178
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04178#FFFFFF#000000##FFFFFF
##B041781.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7A
Deuteranopia (green-blind)
#707175
Tritanopia (blue-blind)
#BD3A57
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b04178;
/* rgb */ color: rgb(176, 65, 120);
/* oklch */ color: oklch(54.4% 0.155 352.7);
Tailwind
colors: {
  custom: {
    50: '#cb7c9f',
    500: '#b04178',
    950: '#000000',
  },
}
SCSS
$custom: #b04178;
$custom-light: #cb7c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b04178",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 330.27,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54413,
    "c": 0.15514,
    "h": 352.7
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#B04178
secondary
#8AC3A7
accent
#D69452
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04178

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

Preview Lab → · Contrast checker → · Palette generator →

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