#B04099#B04099

#B04099 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.177 H 336.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B04099
RGBrgb(176, 64, 153)
HSLhsl(312, 47%, 47%)
HSVhsv(312, 64%, 69%)
CMYKcmyk(0%, 63.6%, 13.1%, 31%)
CIE-LABlab(45.91, 55.60, -25.85)
CIE-LCHlch(45.91, 61.31, 335.06°)
OKLaboklab(55.68% 0.1629 -0.0701)
OKLCHoklch(55.68% 0.177 336.7)
XYZxyz(25.4880, 15.1989, 31.7221)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04099 #40B057
analogous
#8F40B0 #B04099 #B04061
triadic
#B04099 #99B040 #4099B0
tetradic
#B04099 #B08F40 #40B057 #4061B0
square
#B04099 #B08F40 #40B057 #4061B0
split-complementary
#B04099 #61B040 #40B08F
monochromatic
#561F4B #833072 #B04099 #C766B3 #D893C9

Accessibility & contrast

On white

5.20
#B04099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B04099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04099
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04099#FFFFFF#000000##FFFFFF
##B040991.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#657396
Tritanopia (blue-blind)
#B94667
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b04099;
/* rgb */ color: rgb(176, 64, 153);
/* oklch */ color: oklch(55.7% 0.177 336.7);
Tailwind
colors: {
  custom: {
    50: '#cb7cb7',
    500: '#b04099',
    950: '#000000',
  },
}
SCSS
$custom: #b04099;
$custom-light: #cb7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04099",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 312.321,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.17735,
    "h": 336.7
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#B04099
secondary
#89C395
accent
#D66D51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B04099

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

Preview Lab → · Contrast checker → · Palette generator →

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