#B4319A#B4319A

#B4319A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.9% C 0.200 H 337.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B4319A
RGBrgb(180, 49, 154)
HSLhsl(312, 57%, 45%)
HSVhsv(312, 73%, 71%)
CMYKcmyk(0%, 72.8%, 14.4%, 29.4%)
CIE-LABlab(44.57, 62.48, -28.48)
CIE-LCHlch(44.57, 68.66, 335.49°)
OKLaboklab(54.86% 0.1841 -0.0774)
OKLCHoklch(54.86% 0.2 337.2)
XYZxyz(25.7539, 14.2354, 31.9569)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4319A #31B44B
analogous
#8C31B4 #B4319A #B43159
triadic
#B4319A #9AB431 #319AB4
tetradic
#B4319A #B48C31 #31B44B #3159B4
square
#B4319A #B48C31 #31B44B #3159B4
split-complementary
#B4319A #59B431 #31B48C
monochromatic
#541748 #842471 #B4319A #D052B7 #DD82CB

Accessibility & contrast

On white

5.46
#B4319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B4319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4319A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4319A#FFFFFF#000000##FFFFFF
##B4319A1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9D
Deuteranopia (green-blind)
#617197
Tritanopia (blue-blind)
#BE3962
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4319a;
/* rgb */ color: rgb(180, 49, 154);
/* oklch */ color: oklch(54.9% 0.200 337.2);
Tailwind
colors: {
  custom: {
    50: '#ce76b8',
    500: '#b4319a',
    950: '#000000',
  },
}
SCSS
$custom: #b4319a;
$custom-light: #ce76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4319a",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 311.908,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.19973,
    "h": 337.2
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#B4319A
secondary
#7BC68A
accent
#E06647
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4319A

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

Preview Lab → · Contrast checker → · Palette generator →

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