#B5316A#B5316A

#B5316A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.174 H 358.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B5316A
RGBrgb(181, 49, 106)
HSLhsl(334, 57%, 45%)
HSVhsv(334, 73%, 71%)
CMYKcmyk(0%, 72.9%, 41.4%, 29%)
CIE-LABlab(42.86, 56.77, -1.71)
CIE-LCHlch(42.86, 56.80, 358.27°)
OKLaboklab(53.03% 0.1742 -0.0038)
OKLCHoklch(53.03% 0.174 358.8)
XYZxyz(22.7575, 13.0639, 14.9560)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5316A #31B57C
analogous
#B531AC #B5316A #B53A31
triadic
#B5316A #6AB531 #316AB5
tetradic
#B5316A #ACB531 #31B57C #3A31B5
square
#B5316A #ACB531 #31B57C #3A31B5
split-complementary
#B5316A #31B53A #31ACB5
monochromatic
#551732 #85244E #B5316A #D05389 #DD83AA

Accessibility & contrast

On white

5.81
#B5316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B5316A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5316A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5316A#FFFFFF#000000##FFFFFF
##B5316A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C41F49
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5316a;
/* rgb */ color: rgb(181, 49, 106);
/* oklch */ color: oklch(53.0% 0.174 358.8);
Tailwind
colors: {
  custom: {
    50: '#d07494',
    500: '#b5316a',
    950: '#000000',
  },
}
SCSS
$custom: #b5316a;
$custom-light: #d07494;
$custom-dark: #000000;
JSON
{
  "hex": "#b5316a",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 334.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.17425,
    "h": 358.8
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#B5316A
secondary
#7BC7A6
accent
#E19E47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5316A

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

Preview Lab → · Contrast checker → · Palette generator →

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