#B53398#B53398

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

Color values

HEX#B53398
RGBrgb(181, 51, 152)
HSLhsl(313, 56%, 45%)
HSVhsv(313, 72%, 71%)
CMYKcmyk(0%, 71.8%, 16%, 29%)
CIE-LABlab(44.89, 61.75, -26.77)
CIE-LCHlch(44.89, 67.30, 336.56°)
OKLaboklab(55.09% 0.1828 -0.0726)
OKLCHoklch(55.09% 0.197 338.4)
XYZxyz(25.9079, 14.4608, 31.1264)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B53398 #33B550
analogous
#9133B5 #B53398 #B53357
triadic
#B53398 #98B533 #3398B5
tetradic
#B53398 #B59133 #33B550 #3357B5
square
#B53398 #B59133 #33B550 #3357B5
split-complementary
#B53398 #57B533 #33B591
monochromatic
#561848 #852670 #B53398 #CF56B4 #DD86C9

Accessibility & contrast

On white

5.40
#B53398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B53398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B53398
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B53398#FFFFFF#000000##FFFFFF
##B533981.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#647195
Tritanopia (blue-blind)
#BF3961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b53398;
/* rgb */ color: rgb(181, 51, 152);
/* oklch */ color: oklch(55.1% 0.197 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf77b6',
    500: '#b53398',
    950: '#000000',
  },
}
SCSS
$custom: #b53398;
$custom-light: #cf77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b53398",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 313.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.19667,
    "h": 338.4
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#B53398
secondary
#7DC68E
accent
#DF6A48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B53398

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

Preview Lab → · Contrast checker → · Palette generator →

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