#B53197#B53197

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

Color values

HEX#B53197
RGBrgb(181, 49, 151)
HSLhsl(314, 57%, 45%)
HSVhsv(314, 73%, 71%)
CMYKcmyk(0%, 72.9%, 16.6%, 29%)
CIE-LABlab(44.60, 62.29, -26.62)
CIE-LCHlch(44.60, 67.74, 336.86°)
OKLaboklab(54.86% 0.1847 -0.0721)
OKLCHoklch(54.86% 0.198 338.7)
XYZxyz(25.7409, 14.2572, 30.6684)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B53197 #31B54F
analogous
#9131B5 #B53197 #B53155
triadic
#B53197 #97B531 #3197B5
tetradic
#B53197 #B59131 #31B54F #3155B5
square
#B53197 #B59131 #31B54F #3155B5
split-complementary
#B53197 #55B531 #31B591
monochromatic
#551747 #85246F #B53197 #D053B4 #DD83C9

Accessibility & contrast

On white

5.45
#B53197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B53197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B53197
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B53197#FFFFFF#000000##FFFFFF
##B531971.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#BF3760
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b53197;
/* rgb */ color: rgb(181, 49, 151);
/* oklch */ color: oklch(54.9% 0.198 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf76b6',
    500: '#b53197',
    950: '#000000',
  },
}
SCSS
$custom: #b53197;
$custom-light: #cf76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b53197",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 313.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.19829,
    "h": 338.7
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B53197

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

Preview Lab → · Contrast checker → · Palette generator →

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