#B04077#B04077

#B04077 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.156 H 353.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B04077
RGBrgb(176, 64, 119)
HSLhsl(331, 47%, 47%)
HSVhsv(331, 64%, 69%)
CMYKcmyk(0%, 63.6%, 32.4%, 31%)
CIE-LABlab(44.56, 50.84, -7.31)
CIE-LCHlch(44.56, 51.36, 351.82°)
OKLaboklab(54.26% 0.155 -0.0187)
OKLCHoklch(54.26% 0.156 353.1)
XYZxyz(23.0688, 14.2313, 18.9812)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04077 #40B079
analogous
#B040AF #B04077 #B04140
triadic
#B04077 #77B040 #4077B0
tetradic
#B04077 #AFB040 #40B079 #4140B0
square
#B04077 #AFB040 #40B079 #4140B0
split-complementary
#B04077 #40B041 #40AFB0
monochromatic
#561F3A #833059 #B04077 #C76696 #D893B5

Accessibility & contrast

On white

5.46
#B04077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B04077 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04077
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04077#FFFFFF#000000##FFFFFF
##B040771.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D79
Deuteranopia (green-blind)
#707174
Tritanopia (blue-blind)
#BD3956
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04077;
/* rgb */ color: rgb(176, 64, 119);
/* oklch */ color: oklch(54.3% 0.156 353.1);
Tailwind
colors: {
  custom: {
    50: '#cb7b9e',
    500: '#b04077',
    950: '#000000',
  },
}
SCSS
$custom: #b04077;
$custom-light: #cb7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b04077",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 119
  },
  "hsl": {
    "h": 330.536,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.15609,
    "h": 353.1
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#B04077
secondary
#89C3A6
accent
#D69551
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04077

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

Preview Lab → · Contrast checker → · Palette generator →

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