#B04871#B04871

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

Color values

HEX#B04871
RGBrgb(176, 72, 113)
HSLhsl(336, 42%, 49%)
HSVhsv(336, 59%, 69%)
CMYKcmyk(0%, 59.1%, 35.8%, 31%)
CIE-LABlab(45.72, 46.48, -1.93)
CIE-LCHlch(45.72, 46.52, 357.63°)
OKLaboklab(55.05% 0.1417 -0.0045)
OKLCHoklch(55.05% 0.142 358.2)
XYZxyz(23.2038, 15.0595, 17.3044)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04871 #48B087
analogous
#B048A5 #B04871 #B05348
triadic
#B04871 #71B048 #4871B0
tetradic
#B04871 #A5B048 #48B087 #5348B0
square
#B04871 #A5B048 #48B087 #5348B0
split-complementary
#B04871 #48B053 #48A5B0
monochromatic
#592439 #853655 #B04871 #C57092 #D69CB3

Accessibility & contrast

On white

5.24
#B04871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B04871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04871
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04871#FFFFFF#000000##FFFFFF
##B048711.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#75736F
Tritanopia (blue-blind)
#BD4058
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b04871;
/* rgb */ color: rgb(176, 72, 113);
/* oklch */ color: oklch(55.0% 0.142 358.2);
Tailwind
colors: {
  custom: {
    50: '#cb8099',
    500: '#b04871',
    950: '#000000',
  },
}
SCSS
$custom: #b04871;
$custom-light: #cb8099;
$custom-dark: #000000;
JSON
{
  "hex": "#b04871",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 336.346,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5505,
    "c": 0.14177,
    "h": 358.2
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04871

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

Preview Lab → · Contrast checker → · Palette generator →

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