#B04878#B04878

#B04878 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.145 H 354.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B04878
RGBrgb(176, 72, 120)
HSLhsl(332, 42%, 49%)
HSVhsv(332, 59%, 69%)
CMYKcmyk(0%, 59.1%, 31.8%, 31%)
CIE-LABlab(45.94, 47.35, -5.87)
CIE-LCHlch(45.94, 47.71, 352.94°)
OKLaboklab(55.29% 0.144 -0.0149)
OKLCHoklch(55.29% 0.145 354.1)
XYZxyz(23.6131, 15.2233, 19.4605)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04878 #48B080
analogous
#B048AC #B04878 #B04C48
triadic
#B04878 #78B048 #4878B0
tetradic
#B04878 #ACB048 #48B080 #4C48B0
square
#B04878 #ACB048 #48B080 #4C48B0
split-complementary
#B04878 #48B04C #48ACB0
monochromatic
#59243D #85365A #B04878 #C57097 #D69CB7

Accessibility & contrast

On white

5.19
#B04878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B04878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04878
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04878#FFFFFF#000000##FFFFFF
##B048781.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576179
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#BD425B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b04878;
/* rgb */ color: rgb(176, 72, 120);
/* oklch */ color: oklch(55.3% 0.145 354.1);
Tailwind
colors: {
  custom: {
    50: '#cb809f',
    500: '#b04878',
    950: '#000000',
  },
}
SCSS
$custom: #b04878;
$custom-light: #cb809f;
$custom-dark: #000000;
JSON
{
  "hex": "#b04878",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 332.308,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.14479,
    "h": 354.1
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#B04878
secondary
#91C3AC
accent
#D29956
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04878

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

Preview Lab → · Contrast checker → · Palette generator →

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