#B04098#B04098

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

Color values

HEX#B04098
RGBrgb(176, 64, 152)
HSLhsl(313, 47%, 47%)
HSVhsv(313, 64%, 69%)
CMYKcmyk(0%, 63.6%, 13.6%, 31%)
CIE-LABlab(45.86, 55.44, -25.32)
CIE-LCHlch(45.86, 60.95, 335.45°)
OKLaboklab(55.64% 0.1627 -0.0686)
OKLCHoklch(55.64% 0.177 337.1)
XYZxyz(25.4058, 15.1660, 31.2890)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04098 #40B058
analogous
#9040B0 #B04098 #B04060
triadic
#B04098 #98B040 #4098B0
tetradic
#B04098 #B09040 #40B058 #4060B0
square
#B04098 #B09040 #40B058 #4060B0
split-complementary
#B04098 #60B040 #40B090
monochromatic
#561F4A #833071 #B04098 #C766B2 #D893C9

Accessibility & contrast

On white

5.21
#B04098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B04098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04098
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04098#FFFFFF#000000##FFFFFF
##B040981.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#B94566
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b04098;
/* rgb */ color: rgb(176, 64, 152);
/* oklch */ color: oklch(55.6% 0.177 337.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cb6',
    500: '#b04098',
    950: '#000000',
  },
}
SCSS
$custom: #b04098;
$custom-light: #cb7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04098",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 312.857,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.17662,
    "h": 337.1
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04098

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

Preview Lab → · Contrast checker → · Palette generator →

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