#B5316E#B5316E

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

Color values

HEX#B5316E
RGBrgb(181, 49, 110)
HSLhsl(332, 57%, 45%)
HSVhsv(332, 73%, 71%)
CMYKcmyk(0%, 72.9%, 39.2%, 29%)
CIE-LABlab(42.99, 57.19, -4.01)
CIE-LCHlch(42.99, 57.33, 355.99°)
OKLaboklab(53.16% 0.1755 -0.0098)
OKLCHoklch(53.16% 0.176 356.8)
XYZxyz(22.9704, 13.1490, 16.0772)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5316E #31B578
analogous
#B531B0 #B5316E #B53631
triadic
#B5316E #6EB531 #316EB5
tetradic
#B5316E #B0B531 #31B578 #3631B5
square
#B5316E #B0B531 #31B578 #3631B5
split-complementary
#B5316E #31B536 #31B0B5
monochromatic
#551733 #852451 #B5316E #D0538D #DD83AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5316E#FFFFFF#000000##FFFFFF
##B5316E1.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)
#4B5670
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#C4214B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5316e;
/* rgb */ color: rgb(181, 49, 110);
/* oklch */ color: oklch(53.2% 0.176 356.8);
Tailwind
colors: {
  custom: {
    50: '#d07497',
    500: '#b5316e',
    950: '#000000',
  },
}
SCSS
$custom: #b5316e;
$custom-light: #d07497;
$custom-dark: #000000;
JSON
{
  "hex": "#b5316e",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 332.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.17576,
    "h": 356.8
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5316E

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

Preview Lab → · Contrast checker → · Palette generator →

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