#B04498#B04498

#B04498 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.171 H 337.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B04498
RGBrgb(176, 68, 152)
HSLhsl(313, 44%, 48%)
HSVhsv(313, 61%, 69%)
CMYKcmyk(0%, 61.4%, 13.6%, 31%)
CIE-LABlab(46.49, 53.71, -24.35)
CIE-LCHlch(46.49, 58.98, 335.62°)
OKLaboklab(56.1% 0.1576 -0.0659)
OKLCHoklch(56.1% 0.171 337.3)
XYZxyz(25.6395, 15.6335, 31.3669)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04498 #44B05C
analogous
#9244B0 #B04498 #B04462
triadic
#B04498 #98B044 #4498B0
tetradic
#B04498 #B09244 #44B05C #4462B0
square
#B04498 #B09244 #44B05C #4462B0
split-complementary
#B04498 #62B044 #44B092
monochromatic
#58224C #843372 #B04498 #C66BB2 #D797C9

Accessibility & contrast

On white

5.09
#B04498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B04498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04498
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04498#FFFFFF#000000##FFFFFF
##B044981.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#687495
Tritanopia (blue-blind)
#B94968
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b04498;
/* rgb */ color: rgb(176, 68, 152);
/* oklch */ color: oklch(56.1% 0.171 337.3);
Tailwind
colors: {
  custom: {
    50: '#ca7eb6',
    500: '#b04498',
    950: '#000000',
  },
}
SCSS
$custom: #b04498;
$custom-light: #ca7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04498",
  "rgb": {
    "r": 176,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 313.333,
    "s": 44.262,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.17083,
    "h": 337.3
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

primary
#B04498
secondary
#8DC399
accent
#D47054
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B04498

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

Preview Lab → · Contrast checker → · Palette generator →

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