#B5316C#B5316C

#B5316C is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.175 H 357.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B5316C
RGBrgb(181, 49, 108)
HSLhsl(333, 57%, 45%)
HSVhsv(333, 73%, 71%)
CMYKcmyk(0%, 72.9%, 40.3%, 29%)
CIE-LABlab(42.92, 56.98, -2.86)
CIE-LCHlch(42.92, 57.05, 357.13°)
OKLaboklab(53.09% 0.1749 -0.0068)
OKLCHoklch(53.09% 0.175 357.8)
XYZxyz(22.8627, 13.1059, 15.5102)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5316C #31B57A
analogous
#B531AE #B5316C #B53831
triadic
#B5316C #6CB531 #316CB5
tetradic
#B5316C #AEB531 #31B57A #3831B5
square
#B5316C #AEB531 #31B57A #3831B5
split-complementary
#B5316C #31B538 #31AEB5
monochromatic
#551733 #85244F #B5316C #D0538B #DD83AB

Accessibility & contrast

On white

5.80
#B5316C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B5316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5316C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5316C#FFFFFF#000000##FFFFFF
##B5316C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556E
Deuteranopia (green-blind)
#706E69
Tritanopia (blue-blind)
#C4204A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5316c;
/* rgb */ color: rgb(181, 49, 108);
/* oklch */ color: oklch(53.1% 0.175 357.8);
Tailwind
colors: {
  custom: {
    50: '#d07496',
    500: '#b5316c',
    950: '#000000',
  },
}
SCSS
$custom: #b5316c;
$custom-light: #d07496;
$custom-dark: #000000;
JSON
{
  "hex": "#b5316c",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 333.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.17499,
    "h": 357.8
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#B5316C
secondary
#7BC7A5
accent
#E19C47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5316C

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

Preview Lab → · Contrast checker → · Palette generator →

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