#B4316E#B4316E

#B4316E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.175 H 356.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B4316E
RGBrgb(180, 49, 110)
HSLhsl(332, 57%, 45%)
HSVhsv(332, 73%, 71%)
CMYKcmyk(0%, 72.8%, 38.9%, 29.4%)
CIE-LABlab(42.81, 56.91, -4.30)
CIE-LCHlch(42.81, 57.07, 355.68°)
OKLaboklab(53% 0.1746 -0.0106)
OKLCHoklch(53% 0.175 356.5)
XYZxyz(22.7367, 13.0285, 16.0663)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4316E #31B477
analogous
#B431B0 #B4316E #B43631
triadic
#B4316E #6EB431 #316EB4
tetradic
#B4316E #B0B431 #31B477 #3631B4
square
#B4316E #B0B431 #31B477 #3631B4
split-complementary
#B4316E #31B436 #31B0B4
monochromatic
#541733 #842451 #B4316E #D0528D #DD82AD

Accessibility & contrast

On white

5.82
#B4316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B4316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4316E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4316E#FFFFFF#000000##FFFFFF
##B4316E1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5570
Deuteranopia (green-blind)
#6F6E6B
Tritanopia (blue-blind)
#C3224B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4316e;
/* rgb */ color: rgb(180, 49, 110);
/* oklch */ color: oklch(53.0% 0.175 356.5);
Tailwind
colors: {
  custom: {
    50: '#cf7497',
    500: '#b4316e',
    950: '#000000',
  },
}
SCSS
$custom: #b4316e;
$custom-light: #cf7497;
$custom-dark: #000000;
JSON
{
  "hex": "#b4316e",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 332.061,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.17493,
    "h": 356.5
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#B4316E
secondary
#7BC6A3
accent
#E09947
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4316E

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

Preview Lab → · Contrast checker → · Palette generator →

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