#B5319B#B5319B

#B5319B is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.1% C 0.201 H 337.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B5319B
RGBrgb(181, 49, 155)
HSLhsl(312, 57%, 45%)
HSVhsv(312, 73%, 71%)
CMYKcmyk(0%, 72.9%, 14.4%, 29%)
CIE-LABlab(44.79, 62.86, -28.73)
CIE-LCHlch(44.79, 69.12, 335.44°)
OKLaboklab(55.06% 0.1852 -0.0781)
OKLCHoklch(55.06% 0.201 337.1)
XYZxyz(26.0712, 14.3893, 32.4083)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5319B #31B54B
analogous
#8D31B5 #B5319B #B53159
triadic
#B5319B #9BB531 #319BB5
tetradic
#B5319B #B58D31 #31B54B #3159B5
square
#B5319B #B58D31 #31B54B #3159B5
split-complementary
#B5319B #59B531 #31B58D
monochromatic
#551749 #852472 #B5319B #D053B8 #DD83CC

Accessibility & contrast

On white

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

On black

3.88
#B5319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B5319B#FFFFFF#000000##FFFFFF
##B5319B1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#627198
Tritanopia (blue-blind)
#BF3962
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5319b;
/* rgb */ color: rgb(181, 49, 155);
/* oklch */ color: oklch(55.1% 0.201 337.1);
Tailwind
colors: {
  custom: {
    50: '#cf76b9',
    500: '#b5319b',
    950: '#000000',
  },
}
SCSS
$custom: #b5319b;
$custom-light: #cf76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5319b",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 311.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.20101,
    "h": 337.1
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#B5319B
secondary
#7BC78A
accent
#E16547
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5319B

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

Preview Lab → · Contrast checker → · Palette generator →

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