#B5316D#B5316D

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

Color values

HEX#B5316D
RGBrgb(181, 49, 109)
HSLhsl(333, 57%, 45%)
HSVhsv(333, 73%, 71%)
CMYKcmyk(0%, 72.9%, 39.8%, 29%)
CIE-LABlab(42.95, 57.09, -3.44)
CIE-LCHlch(42.95, 57.19, 356.56°)
OKLaboklab(53.13% 0.1752 -0.0083)
OKLCHoklch(53.13% 0.175 357.3)
XYZxyz(22.9163, 13.1273, 15.7921)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5316D #31B579
analogous
#B531AF #B5316D #B53731
triadic
#B5316D #6DB531 #316DB5
tetradic
#B5316D #AFB531 #31B579 #3731B5
square
#B5316D #AFB531 #31B579 #3731B5
split-complementary
#B5316D #31B537 #31AFB5
monochromatic
#551733 #852450 #B5316D #D0538C #DD83AC

Accessibility & contrast

On white

5.79
#B5316D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B5316D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5316D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5316D#FFFFFF#000000##FFFFFF
##B5316D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C566F
Deuteranopia (green-blind)
#706E6A
Tritanopia (blue-blind)
#C4214B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5316d;
/* rgb */ color: rgb(181, 49, 109);
/* oklch */ color: oklch(53.1% 0.175 357.3);
Tailwind
colors: {
  custom: {
    50: '#d07496',
    500: '#b5316d',
    950: '#000000',
  },
}
SCSS
$custom: #b5316d;
$custom-light: #d07496;
$custom-dark: #000000;
JSON
{
  "hex": "#b5316d",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 332.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.17538,
    "h": 357.3
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#B5316D
secondary
#7BC7A4
accent
#E19B47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5316D

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

Preview Lab → · Contrast checker → · Palette generator →

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