#B5316F#B5316F

#B5316F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.176 H 356.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B5316F
RGBrgb(181, 49, 111)
HSLhsl(332, 57%, 45%)
HSVhsv(332, 73%, 71%)
CMYKcmyk(0%, 72.9%, 38.7%, 29%)
CIE-LABlab(43.02, 57.30, -4.58)
CIE-LCHlch(43.02, 57.48, 355.43°)
OKLaboklab(53.2% 0.1758 -0.0113)
OKLCHoklch(53.2% 0.176 356.3)
XYZxyz(23.0252, 13.1709, 16.3656)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5316F #31B577
analogous
#B531B1 #B5316F #B53531
triadic
#B5316F #6FB531 #316FB5
tetradic
#B5316F #B1B531 #31B577 #3531B5
square
#B5316F #B1B531 #31B577 #3531B5
split-complementary
#B5316F #31B535 #31B1B5
monochromatic
#551734 #852451 #B5316F #D0538E #DD83AD

Accessibility & contrast

On white

5.78
#B5316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5316F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5316F#FFFFFF#000000##FFFFFF
##B5316F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#6F6F6C
Tritanopia (blue-blind)
#C4224C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5316f;
/* rgb */ color: rgb(181, 49, 111);
/* oklch */ color: oklch(53.2% 0.176 356.3);
Tailwind
colors: {
  custom: {
    50: '#d07498',
    500: '#b5316f',
    950: '#000000',
  },
}
SCSS
$custom: #b5316f;
$custom-light: #d07498;
$custom-dark: #000000;
JSON
{
  "hex": "#b5316f",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 331.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.17616,
    "h": 356.3
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#B5316F
secondary
#7BC7A3
accent
#E19947
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5316F

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

Preview Lab → · Contrast checker → · Palette generator →

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