#B53298#B53298

#B53298 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.198 H 338.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B53298
RGBrgb(181, 50, 152)
HSLhsl(313, 57%, 45%)
HSVhsv(313, 72%, 71%)
CMYKcmyk(0%, 72.4%, 16%, 29%)
CIE-LABlab(44.77, 62.09, -26.96)
CIE-LCHlch(44.77, 67.69, 336.53°)
OKLaboklab(55% 0.1838 -0.0731)
OKLCHoklch(55% 0.198 338.3)
XYZxyz(25.8647, 14.3744, 31.1120)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B53298 #32B54F
analogous
#9032B5 #B53298 #B53257
triadic
#B53298 #98B532 #3298B5
tetradic
#B53298 #B59032 #32B54F #3257B5
square
#B53298 #B59032 #32B54F #3257B5
split-complementary
#B53298 #57B532 #32B590
monochromatic
#551847 #852570 #B53298 #D054B5 #DD84C9

Accessibility & contrast

On white

5.42
#B53298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B53298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B53298
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B53298#FFFFFF#000000##FFFFFF
##B532981.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#BF3861
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b53298;
/* rgb */ color: rgb(181, 50, 152);
/* oklch */ color: oklch(55.0% 0.198 338.3);
Tailwind
colors: {
  custom: {
    50: '#cf76b6',
    500: '#b53298',
    950: '#000000',
  },
}
SCSS
$custom: #b53298;
$custom-light: #cf76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b53298",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 313.282,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.19783,
    "h": 338.3
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#B53298
secondary
#7CC78D
accent
#E06A48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B53298

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

Preview Lab → · Contrast checker → · Palette generator →

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