#B04087#B04087

#B04087 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.165 H 344.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B04087
RGBrgb(176, 64, 135)
HSLhsl(322, 47%, 47%)
HSVhsv(322, 64%, 69%)
CMYKcmyk(0%, 63.6%, 23.3%, 31%)
CIE-LABlab(45.15, 52.95, -16.17)
CIE-LCHlch(45.15, 55.36, 343.01°)
OKLaboklab(54.88% 0.1593 -0.0429)
OKLCHoklch(54.88% 0.165 344.9)
XYZxyz(24.1119, 14.6485, 24.4746)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04087 #40B069
analogous
#A140B0 #B04087 #B0404F
triadic
#B04087 #87B040 #4087B0
tetradic
#B04087 #B0A140 #40B069 #404FB0
square
#B04087 #B0A140 #40B069 #404FB0
split-complementary
#B04087 #4FB040 #40B0A1
monochromatic
#561F42 #833065 #B04087 #C766A4 #D893BE

Accessibility & contrast

On white

5.34
#B04087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B04087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04087
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04087#FFFFFF#000000##FFFFFF
##B040871.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#6B7284
Tritanopia (blue-blind)
#BB3F5E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b04087;
/* rgb */ color: rgb(176, 64, 135);
/* oklch */ color: oklch(54.9% 0.165 344.9);
Tailwind
colors: {
  custom: {
    50: '#cb7caa',
    500: '#b04087',
    950: '#000000',
  },
}
SCSS
$custom: #b04087;
$custom-light: #cb7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#b04087",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 321.964,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.165,
    "h": 344.9
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#B04087
secondary
#89C39E
accent
#D68251
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B04087

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

Preview Lab → · Contrast checker → · Palette generator →

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