#B04781#B04781

#B04781 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.5% C 0.151 H 348.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B04781
RGBrgb(176, 71, 129)
HSLhsl(327, 43%, 48%)
HSVhsv(327, 60%, 69%)
CMYKcmyk(0%, 59.7%, 26.7%, 31%)
CIE-LABlab(46.07, 49.00, -11.13)
CIE-LCHlch(46.07, 50.25, 347.20°)
OKLaboklab(55.49% 0.1482 -0.0291)
OKLCHoklch(55.49% 0.151 348.9)
XYZxyz(24.1211, 15.3239, 22.4521)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04781 #47B076
analogous
#AA47B0 #B04781 #B0474C
triadic
#B04781 #81B047 #4781B0
tetradic
#B04781 #B0AA47 #47B076 #474CB0
square
#B04781 #B0AA47 #47B076 #474CB0
split-complementary
#B04781 #4CB047 #47B0AA
monochromatic
#592441 #843561 #B04781 #C56F9F #D79BBC

Accessibility & contrast

On white

5.17
#B04781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B04781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04781
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04781#FFFFFF#000000##FFFFFF
##B047811.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536283
Deuteranopia (green-blind)
#71747E
Tritanopia (blue-blind)
#BC445E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b04781;
/* rgb */ color: rgb(176, 71, 129);
/* oklch */ color: oklch(55.5% 0.151 348.9);
Tailwind
colors: {
  custom: {
    50: '#cb80a5',
    500: '#b04781',
    950: '#000000',
  },
}
SCSS
$custom: #b04781;
$custom-light: #cb80a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04781",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 326.857,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55493,
    "c": 0.15101,
    "h": 348.9
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#B04781
secondary
#90C3A7
accent
#D28D56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B04781

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

Preview Lab → · Contrast checker → · Palette generator →

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