#B5316B#B5316B

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

Color values

HEX#B5316B
RGBrgb(181, 49, 107)
HSLhsl(334, 57%, 45%)
HSVhsv(334, 73%, 71%)
CMYKcmyk(0%, 72.9%, 40.9%, 29%)
CIE-LABlab(42.89, 56.88, -2.29)
CIE-LCHlch(42.89, 56.92, 357.70°)
OKLaboklab(53.06% 0.1745 -0.0053)
OKLCHoklch(53.06% 0.175 358.3)
XYZxyz(22.8098, 13.0848, 15.2315)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5316B #31B57B
analogous
#B531AD #B5316B #B53931
triadic
#B5316B #6BB531 #316BB5
tetradic
#B5316B #ADB531 #31B57B #3931B5
square
#B5316B #ADB531 #31B57B #3931B5
split-complementary
#B5316B #31B539 #31ADB5
monochromatic
#551732 #85244F #B5316B #D0538A #DD83AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5316B#FFFFFF#000000##FFFFFF
##B5316B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556C
Deuteranopia (green-blind)
#706E68
Tritanopia (blue-blind)
#C41F4A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5316b;
/* rgb */ color: rgb(181, 49, 107);
/* oklch */ color: oklch(53.1% 0.175 358.3);
Tailwind
colors: {
  custom: {
    50: '#d07495',
    500: '#b5316b',
    950: '#000000',
  },
}
SCSS
$custom: #b5316b;
$custom-light: #d07495;
$custom-dark: #000000;
JSON
{
  "hex": "#b5316b",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 333.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.17462,
    "h": 358.3
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5316B

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

Preview Lab → · Contrast checker → · Palette generator →

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