#B13298#B13298

#B13298 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.195 H 337.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B13298
RGBrgb(177, 50, 152)
HSLhsl(312, 56%, 45%)
HSVhsv(312, 72%, 69%)
CMYKcmyk(0%, 71.8%, 14.1%, 30.6%)
CIE-LABlab(44.09, 61.11, -28.07)
CIE-LCHlch(44.09, 67.25, 335.33°)
OKLaboklab(54.38% 0.1799 -0.0763)
OKLCHoklch(54.38% 0.195 337)
XYZxyz(24.9400, 13.8976, 31.0687)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13298 #32B14B
analogous
#8B32B1 #B13298 #B13259
triadic
#B13298 #98B132 #3298B1
tetradic
#B13298 #B18B32 #32B14B #3259B1
square
#B13298 #B18B32 #32B14B #3259B1
split-complementary
#B13298 #59B132 #32B18B
monochromatic
#521746 #81256F #B13298 #CE52B6 #DC82CA

Accessibility & contrast

On white

5.56
#B13298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B13298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13298
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13298#FFFFFF#000000##FFFFFF
##B132981.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#BA3961
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b13298;
/* rgb */ color: rgb(177, 50, 152);
/* oklch */ color: oklch(54.4% 0.195 337.0);
Tailwind
colors: {
  custom: {
    50: '#cc76b6',
    500: '#b13298',
    950: '#000000',
  },
}
SCSS
$custom: #b13298;
$custom-light: #cc76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b13298",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 311.811,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.1954,
    "h": 337
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#B13298
secondary
#7AC589
accent
#DF6649
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B13298

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

Preview Lab → · Contrast checker → · Palette generator →

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