#B04081#B04081

#B04081 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.161 H 347.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B04081
RGBrgb(176, 64, 129)
HSLhsl(325, 47%, 47%)
HSVhsv(325, 64%, 69%)
CMYKcmyk(0%, 63.6%, 26.7%, 31%)
CIE-LABlab(44.92, 52.13, -12.88)
CIE-LCHlch(44.92, 53.70, 346.12°)
OKLaboklab(54.64% 0.1578 -0.0338)
OKLCHoklch(54.64% 0.161 347.9)
XYZxyz(23.7013, 14.4842, 22.3121)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04081 #40B06F
analogous
#A740B0 #B04081 #B04049
triadic
#B04081 #81B040 #4081B0
tetradic
#B04081 #B0A740 #40B06F #4049B0
square
#B04081 #B0A740 #40B06F #4049B0
split-complementary
#B04081 #49B040 #40B0A7
monochromatic
#561F3F #833060 #B04081 #C7669E #D893BB

Accessibility & contrast

On white

5.39
#B04081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B04081 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04081
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04081#FFFFFF#000000##FFFFFF
##B040811.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E83
Deuteranopia (green-blind)
#6D717E
Tritanopia (blue-blind)
#BC3D5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b04081;
/* rgb */ color: rgb(176, 64, 129);
/* oklch */ color: oklch(54.6% 0.161 347.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ca5',
    500: '#b04081',
    950: '#000000',
  },
}
SCSS
$custom: #b04081;
$custom-light: #cb7ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04081",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 325.179,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.16139,
    "h": 347.9
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#B04081
secondary
#89C3A1
accent
#D68951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B04081

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

Preview Lab → · Contrast checker → · Palette generator →

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