#B53198#B53198

#B53198 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.199 H 338.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B53198
RGBrgb(181, 49, 152)
HSLhsl(313, 57%, 45%)
HSVhsv(313, 73%, 71%)
CMYKcmyk(0%, 72.9%, 16%, 29%)
CIE-LABlab(44.65, 62.43, -27.15)
CIE-LCHlch(44.65, 68.08, 336.50°)
OKLaboklab(54.91% 0.1848 -0.0736)
OKLCHoklch(54.91% 0.199 338.3)
XYZxyz(25.8224, 14.2898, 31.0979)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B53198 #31B54E
analogous
#9031B5 #B53198 #B53156
triadic
#B53198 #98B531 #3198B5
tetradic
#B53198 #B59031 #31B54E #3156B5
square
#B53198 #B59031 #31B54E #3156B5
split-complementary
#B53198 #56B531 #31B590
monochromatic
#551747 #852470 #B53198 #D053B5 #DD83CA

Accessibility & contrast

On white

5.44
#B53198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B53198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B53198
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B53198#FFFFFF#000000##FFFFFF
##B531981.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#BF3761
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b53198;
/* rgb */ color: rgb(181, 49, 152);
/* oklch */ color: oklch(54.9% 0.199 338.3);
Tailwind
colors: {
  custom: {
    50: '#cf76b6',
    500: '#b53198',
    950: '#000000',
  },
}
SCSS
$custom: #b53198;
$custom-light: #cf76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b53198",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 313.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.19897,
    "h": 338.3
  },
  "luminance": 0.14287
}

Semantic roles & 50–950 ramp

primary
#B53198
secondary
#7BC78C
accent
#E16947
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B53198

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

Preview Lab → · Contrast checker → · Palette generator →

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