#B4316A#B4316A

#B4316A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.173 H 358.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B4316A
RGBrgb(180, 49, 106)
HSLhsl(334, 57%, 45%)
HSVhsv(334, 73%, 71%)
CMYKcmyk(0%, 72.8%, 41.1%, 29.4%)
CIE-LABlab(42.68, 56.49, -2.00)
CIE-LCHlch(42.68, 56.53, 357.97°)
OKLaboklab(52.86% 0.1733 -0.0045)
OKLCHoklch(52.86% 0.173 358.5)
XYZxyz(22.5238, 12.9434, 14.9451)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4316A #31B47B
analogous
#B431AC #B4316A #B43A31
triadic
#B4316A #6AB431 #316AB4
tetradic
#B4316A #ACB431 #31B47B #3A31B4
square
#B4316A #ACB431 #31B47B #3A31B4
split-complementary
#B4316A #31B43A #31ACB4
monochromatic
#541731 #84244E #B4316A #D05289 #DD82AA

Accessibility & contrast

On white

5.85
#B4316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B4316A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4316A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4316A#FFFFFF#000000##FFFFFF
##B4316A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C32049
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4316a;
/* rgb */ color: rgb(180, 49, 106);
/* oklch */ color: oklch(52.9% 0.173 358.5);
Tailwind
colors: {
  custom: {
    50: '#cf7494',
    500: '#b4316a',
    950: '#000000',
  },
}
SCSS
$custom: #b4316a;
$custom-light: #cf7494;
$custom-dark: #000000;
JSON
{
  "hex": "#b4316a",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 333.893,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.1734,
    "h": 358.5
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#B4316A
secondary
#7BC6A5
accent
#E09E47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4316A

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

Preview Lab → · Contrast checker → · Palette generator →

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