#B03298#B03298

#B03298 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.195 H 336.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B03298
RGBrgb(176, 50, 152)
HSLhsl(311, 56%, 44%)
HSVhsv(311, 72%, 69%)
CMYKcmyk(0%, 71.6%, 13.6%, 31%)
CIE-LABlab(43.92, 60.87, -28.35)
CIE-LCHlch(43.92, 67.15, 335.03°)
OKLaboklab(54.22% 0.1789 -0.0771)
OKLCHoklch(54.22% 0.195 336.7)
XYZxyz(24.7130, 13.7805, 31.0580)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03298 #32B04A
analogous
#8932B0 #B03298 #B03259
triadic
#B03298 #98B032 #3298B0
tetradic
#B03298 #B08932 #32B04A #3259B0
square
#B03298 #B08932 #32B04A #3259B0
split-complementary
#B03298 #59B032 #32B089
monochromatic
#511746 #80246F #B03298 #CE51B6 #DB81CA

Accessibility & contrast

On white

5.59
#B03298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B03298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03298
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03298#FFFFFF#000000##FFFFFF
##B032981.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9B
Deuteranopia (green-blind)
#5F6F95
Tritanopia (blue-blind)
#B93A61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b03298;
/* rgb */ color: rgb(176, 50, 152);
/* oklch */ color: oklch(54.2% 0.195 336.7);
Tailwind
colors: {
  custom: {
    50: '#cb75b6',
    500: '#b03298',
    950: '#000000',
  },
}
SCSS
$custom: #b03298;
$custom-light: #cb75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b03298",
  "rgb": {
    "r": 176,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 311.429,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.1948,
    "h": 336.7
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#B03298
secondary
#79C488
accent
#DF6549
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B03298

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

Preview Lab → · Contrast checker → · Palette generator →

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