#B5319F#B5319F

#B5319F is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.3% C 0.204 H 335.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B5319F
RGBrgb(181, 49, 159)
HSLhsl(310, 57%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 72.9%, 12.2%, 29%)
CIE-LABlab(44.98, 63.45, -30.83)
CIE-LCHlch(44.98, 70.54, 334.09°)
OKLaboklab(55.26% 0.1856 -0.0841)
OKLCHoklch(55.26% 0.204 335.6)
XYZxyz(26.4127, 14.5259, 34.2069)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5319F #31B547
analogous
#8931B5 #B5319F #B5315D
triadic
#B5319F #9FB531 #319FB5
tetradic
#B5319F #B58931 #31B547 #315DB5
square
#B5319F #B58931 #31B547 #315DB5
split-complementary
#B5319F #5DB531 #31B589
monochromatic
#55174A #852475 #B5319F #D053BB #DD83CE

Accessibility & contrast

On white

5.38
#B5319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5319F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5319F#FFFFFF#000000##FFFFFF
##B5319F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#60719C
Tritanopia (blue-blind)
#BE3B65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5319f;
/* rgb */ color: rgb(181, 49, 159);
/* oklch */ color: oklch(55.3% 0.204 335.6);
Tailwind
colors: {
  custom: {
    50: '#cf76bb',
    500: '#b5319f',
    950: '#000000',
  },
}
SCSS
$custom: #b5319f;
$custom-light: #cf76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5319f",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 310,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55261,
    "c": 0.20379,
    "h": 335.6
  },
  "luminance": 0.14524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5319F

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

Preview Lab → · Contrast checker → · Palette generator →

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