#B5319A#B5319A

#B5319A is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.0% C 0.200 H 337.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B5319A
RGBrgb(181, 49, 154)
HSLhsl(312, 57%, 45%)
HSVhsv(312, 73%, 71%)
CMYKcmyk(0%, 72.9%, 14.9%, 29%)
CIE-LABlab(44.74, 62.72, -28.20)
CIE-LCHlch(44.74, 68.77, 335.79°)
OKLaboklab(55.01% 0.1851 -0.0766)
OKLCHoklch(55.01% 0.2 337.5)
XYZxyz(25.9876, 14.3559, 31.9679)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5319A #31B54C
analogous
#8E31B5 #B5319A #B53158
triadic
#B5319A #9AB531 #319AB5
tetradic
#B5319A #B58E31 #31B54C #3158B5
square
#B5319A #B58E31 #31B54C #3158B5
split-complementary
#B5319A #58B531 #31B58E
monochromatic
#551748 #852471 #B5319A #D053B7 #DD83CB

Accessibility & contrast

On white

5.43
#B5319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5319A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5319A#FFFFFF#000000##FFFFFF
##B5319A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#BF3862
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5319a;
/* rgb */ color: rgb(181, 49, 154);
/* oklch */ color: oklch(55.0% 0.200 337.5);
Tailwind
colors: {
  custom: {
    50: '#cf76b8',
    500: '#b5319a',
    950: '#000000',
  },
}
SCSS
$custom: #b5319a;
$custom-light: #cf76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b5319a",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 312.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.20032,
    "h": 337.5
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#B5319A
secondary
#7BC78B
accent
#E16747
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5319A

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

Preview Lab → · Contrast checker → · Palette generator →

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