#B04872#B04872

#B04872 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.142 H 357.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B04872
RGBrgb(176, 72, 114)
HSLhsl(336, 42%, 49%)
HSVhsv(336, 59%, 69%)
CMYKcmyk(0%, 59.1%, 35.2%, 31%)
CIE-LABlab(45.75, 46.60, -2.49)
CIE-LCHlch(45.75, 46.67, 356.94°)
OKLaboklab(55.08% 0.142 -0.006)
OKLCHoklch(55.08% 0.142 357.6)
XYZxyz(23.2604, 15.0822, 17.6025)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04872 #48B086
analogous
#B048A6 #B04872 #B05248
triadic
#B04872 #72B048 #4872B0
tetradic
#B04872 #A6B048 #48B086 #5248B0
square
#B04872 #A6B048 #48B086 #5248B0
split-complementary
#B04872 #48B052 #48A6B0
monochromatic
#59243A #853656 #B04872 #C57093 #D69CB4

Accessibility & contrast

On white

5.23
#B04872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B04872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04872
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04872#FFFFFF#000000##FFFFFF
##B048721.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#757470
Tritanopia (blue-blind)
#BD4058
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b04872;
/* rgb */ color: rgb(176, 72, 114);
/* oklch */ color: oklch(55.1% 0.142 357.6);
Tailwind
colors: {
  custom: {
    50: '#cb809a',
    500: '#b04872',
    950: '#000000',
  },
}
SCSS
$custom: #b04872;
$custom-light: #cb809a;
$custom-dark: #000000;
JSON
{
  "hex": "#b04872",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 335.769,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55084,
    "c": 0.14216,
    "h": 357.6
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#B04872
secondary
#91C3AF
accent
#D2A056
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04872

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

Preview Lab → · Contrast checker → · Palette generator →

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