#B5319C#B5319C

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

Color values

HEX#B5319C
RGBrgb(181, 49, 156)
HSLhsl(311, 57%, 45%)
HSVhsv(311, 73%, 71%)
CMYKcmyk(0%, 72.9%, 13.8%, 29%)
CIE-LABlab(44.83, 63.01, -29.26)
CIE-LCHlch(44.83, 69.47, 335.09°)
OKLaboklab(55.11% 0.1853 -0.0796)
OKLCHoklch(55.11% 0.202 336.7)
XYZxyz(26.1556, 14.4231, 32.8525)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5319C #31B54A
analogous
#8C31B5 #B5319C #B5315A
triadic
#B5319C #9CB531 #319CB5
tetradic
#B5319C #B58C31 #31B54A #315AB5
square
#B5319C #B58C31 #31B54A #315AB5
split-complementary
#B5319C #5AB531 #31B58C
monochromatic
#551749 #852472 #B5319C #D053B9 #DD83CC

Accessibility & contrast

On white

5.41
#B5319C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5319C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5319C#FFFFFF#000000##FFFFFF
##B5319C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#617199
Tritanopia (blue-blind)
#BF3963
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5319c;
/* rgb */ color: rgb(181, 49, 156);
/* oklch */ color: oklch(55.1% 0.202 336.7);
Tailwind
colors: {
  custom: {
    50: '#cf76b9',
    500: '#b5319c',
    950: '#000000',
  },
}
SCSS
$custom: #b5319c;
$custom-light: #cf76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5319c",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 311.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.2017,
    "h": 336.7
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#B5319C
secondary
#7BC789
accent
#E16447
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5319C

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

Preview Lab → · Contrast checker → · Palette generator →

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