#B53498#B53498

#B53498 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.196 H 338.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B53498
RGBrgb(181, 52, 152)
HSLhsl(313, 55%, 46%)
HSVhsv(313, 71%, 71%)
CMYKcmyk(0%, 71.3%, 16%, 29%)
CIE-LABlab(45.01, 61.40, -26.58)
CIE-LCHlch(45.01, 66.91, 336.59°)
OKLaboklab(55.18% 0.1818 -0.072)
OKLCHoklch(55.18% 0.196 338.4)
XYZxyz(25.9521, 14.5492, 31.1412)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B53498 #34B551
analogous
#9134B5 #B53498 #B53458
triadic
#B53498 #98B534 #3498B5
tetradic
#B53498 #B59134 #34B551 #3458B5
square
#B53498 #B59134 #34B551 #3458B5
split-complementary
#B53498 #58B534 #34B591
monochromatic
#561948 #852670 #B53498 #CF57B4 #DC87C9

Accessibility & contrast

On white

5.37
#B53498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B53498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B53498
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B53498#FFFFFF#000000##FFFFFF
##B534981.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9B
Deuteranopia (green-blind)
#647295
Tritanopia (blue-blind)
#BF3A62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b53498;
/* rgb */ color: rgb(181, 52, 152);
/* oklch */ color: oklch(55.2% 0.196 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf77b6',
    500: '#b53498',
    950: '#000000',
  },
}
SCSS
$custom: #b53498;
$custom-light: #cf77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b53498",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 313.488,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.1955,
    "h": 338.4
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#B53498
secondary
#7FC68F
accent
#DF6B49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B53498

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

Preview Lab → · Contrast checker → · Palette generator →

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