#B04598#B04598

#B04598 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.169 H 337.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B04598
RGBrgb(176, 69, 152)
HSLhsl(313, 44%, 48%)
HSVhsv(313, 61%, 69%)
CMYKcmyk(0%, 60.8%, 13.6%, 31%)
CIE-LABlab(46.65, 53.27, -24.10)
CIE-LCHlch(46.65, 58.47, 335.66°)
OKLaboklab(56.22% 0.1563 -0.0652)
OKLCHoklch(56.22% 0.169 337.4)
XYZxyz(25.7005, 15.7554, 31.3872)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04598 #45B05D
analogous
#9245B0 #B04598 #B04562
triadic
#B04598 #98B045 #4598B0
tetradic
#B04598 #B09245 #45B05D #4562B0
square
#B04598 #B09245 #45B05D #4562B0
split-complementary
#B04598 #62B045 #45B092
monochromatic
#58234C #843472 #B04598 #C66DB2 #D799C9

Accessibility & contrast

On white

5.06
#B04598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B04598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04598
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04598#FFFFFF#000000##FFFFFF
##B045981.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649B
Deuteranopia (green-blind)
#687595
Tritanopia (blue-blind)
#B94A68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04598;
/* rgb */ color: rgb(176, 69, 152);
/* oklch */ color: oklch(56.2% 0.169 337.4);
Tailwind
colors: {
  custom: {
    50: '#ca7fb6',
    500: '#b04598',
    950: '#000000',
  },
}
SCSS
$custom: #b04598;
$custom-light: #ca7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04598",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 313.458,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.16935,
    "h": 337.4
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#B04598
secondary
#8EC39A
accent
#D37154
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B04598

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

Preview Lab → · Contrast checker → · Palette generator →

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