#B5319E#B5319E

#B5319E is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.2% C 0.203 H 336.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B5319E
RGBrgb(181, 49, 158)
HSLhsl(310, 57%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 72.9%, 12.7%, 29%)
CIE-LABlab(44.93, 63.30, -30.30)
CIE-LCHlch(44.93, 70.18, 334.42°)
OKLaboklab(55.21% 0.1855 -0.0826)
OKLCHoklch(55.21% 0.203 336)
XYZxyz(26.3263, 14.4914, 33.7517)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5319E #31B548
analogous
#8A31B5 #B5319E #B5315C
triadic
#B5319E #9EB531 #319EB5
tetradic
#B5319E #B58A31 #31B548 #315CB5
square
#B5319E #B58A31 #31B548 #315CB5
split-complementary
#B5319E #5CB531 #31B58A
monochromatic
#55174A #852474 #B5319E #D053BB #DD83CE

Accessibility & contrast

On white

5.39
#B5319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B5319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5319E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5319E#FFFFFF#000000##FFFFFF
##B5319E1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#BE3A64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5319e;
/* rgb */ color: rgb(181, 49, 158);
/* oklch */ color: oklch(55.2% 0.203 336.0);
Tailwind
colors: {
  custom: {
    50: '#cf76bb',
    500: '#b5319e',
    950: '#000000',
  },
}
SCSS
$custom: #b5319e;
$custom-light: #cf76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5319e",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 310.455,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.20309,
    "h": 336
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#B5319E
secondary
#7BC788
accent
#E16247
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B5319E

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

Preview Lab → · Contrast checker → · Palette generator →

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