#B13198#B13198

#B13198 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.197 H 337.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B13198
RGBrgb(177, 49, 152)
HSLhsl(312, 57%, 44%)
HSVhsv(312, 72%, 69%)
CMYKcmyk(0%, 72.3%, 14.1%, 30.6%)
CIE-LABlab(43.96, 61.46, -28.26)
CIE-LCHlch(43.96, 67.65, 335.30°)
OKLaboklab(54.29% 0.1809 -0.0769)
OKLCHoklch(54.29% 0.197 337)
XYZxyz(24.8977, 13.8130, 31.0546)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13198 #31B14A
analogous
#8A31B1 #B13198 #B13158
triadic
#B13198 #98B131 #3198B1
tetradic
#B13198 #B18A31 #31B14A #3158B1
square
#B13198 #B18A31 #31B14A #3158B1
split-complementary
#B13198 #58B131 #31B18A
monochromatic
#511646 #81246F #B13198 #CF51B6 #DC80CA

Accessibility & contrast

On white

5.58
#B13198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B13198
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13198#FFFFFF#000000##FFFFFF
##B131981.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b13198;
/* rgb */ color: rgb(177, 49, 152);
/* oklch */ color: oklch(54.3% 0.197 337.0);
Tailwind
colors: {
  custom: {
    50: '#cc75b6',
    500: '#b13198',
    950: '#000000',
  },
}
SCSS
$custom: #b13198;
$custom-light: #cc75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b13198",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 311.719,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.19656,
    "h": 337
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#B13198
secondary
#79C588
accent
#E06648
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B13198

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

Preview Lab → · Contrast checker → · Palette generator →

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