#B04771#B04771

#B04771 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.143 H 357.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B04771
RGBrgb(176, 71, 113)
HSLhsl(336, 43%, 48%)
HSVhsv(336, 60%, 69%)
CMYKcmyk(0%, 59.7%, 35.8%, 31%)
CIE-LABlab(45.54, 46.95, -2.19)
CIE-LCHlch(45.54, 47.00, 357.33°)
OKLaboklab(54.92% 0.1432 -0.0051)
OKLCHoklch(54.92% 0.143 357.9)
XYZxyz(23.1396, 14.9313, 17.2830)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04771 #47B086
analogous
#B047A5 #B04771 #B05147
triadic
#B04771 #71B047 #4771B0
tetradic
#B04771 #A5B047 #47B086 #5147B0
square
#B04771 #A5B047 #47B086 #5147B0
split-complementary
#B04771 #47B051 #47A5B0
monochromatic
#592439 #843555 #B04771 #C56F92 #D79BB3

Accessibility & contrast

On white

5.27
#B04771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B04771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04771
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04771#FFFFFF#000000##FFFFFF
##B047711.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#BD3F57
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b04771;
/* rgb */ color: rgb(176, 71, 113);
/* oklch */ color: oklch(54.9% 0.143 357.9);
Tailwind
colors: {
  custom: {
    50: '#cb7f99',
    500: '#b04771',
    950: '#000000',
  },
}
SCSS
$custom: #b04771;
$custom-light: #cb7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#b04771",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 113
  },
  "hsl": {
    "h": 336,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.14326,
    "h": 357.9
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#B04771
secondary
#90C3AE
accent
#D2A056
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04771

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

Preview Lab → · Contrast checker → · Palette generator →

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