#B05498#B05498

#B05498 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.2% C 0.146 H 338.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B05498
RGBrgb(176, 84, 152)
HSLhsl(316, 37%, 51%)
HSVhsv(316, 52%, 69%)
CMYKcmyk(0%, 52.3%, 13.6%, 31%)
CIE-LABlab(49.30, 46.17, -20.02)
CIE-LCHlch(49.30, 50.32, 336.56°)
OKLaboklab(58.17% 0.1353 -0.0538)
OKLCHoklch(58.17% 0.146 338.3)
XYZxyz(26.7426, 17.8397, 31.7346)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05498 #54B06C
analogous
#9A54B0 #B05498 #B0546A
triadic
#B05498 #98B054 #5498B0
tetradic
#B05498 #B09A54 #54B06C #546AB0
square
#B05498 #B09A54 #54B06C #546AB0
split-complementary
#B05498 #6AB054 #54B09A
monochromatic
#5E2B51 #883F75 #B05498 #C37EB1 #D7A8CA

Accessibility & contrast

On white

4.60
#B05498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B05498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B05498
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05498#FFFFFF#000000##FFFFFF
##B054981.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576C9A
Deuteranopia (green-blind)
#717A96
Tritanopia (blue-blind)
#B8576F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b05498;
/* rgb */ color: rgb(176, 84, 152);
/* oklch */ color: oklch(58.2% 0.146 338.3);
Tailwind
colors: {
  custom: {
    50: '#ca88b6',
    500: '#b05498',
    950: '#000000',
  },
}
SCSS
$custom: #b05498;
$custom-light: #ca88b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b05498",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 315.652,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.14561,
    "h": 338.3
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#B05498
secondary
#9CC4A6
accent
#CD795B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #B05498

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

Preview Lab → · Contrast checker → · Palette generator →

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