#B4319E#B4319E

#B4319E is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.1% C 0.203 H 335.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B4319E
RGBrgb(180, 49, 158)
HSLhsl(310, 57%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 72.8%, 12.2%, 29.4%)
CIE-LABlab(44.76, 63.06, -30.58)
CIE-LCHlch(44.76, 70.09, 334.13°)
OKLaboklab(55.06% 0.1845 -0.0834)
OKLCHoklch(55.06% 0.203 335.7)
XYZxyz(26.0926, 14.3709, 33.7408)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4319E #31B447
analogous
#8831B4 #B4319E #B4315D
triadic
#B4319E #9EB431 #319EB4
tetradic
#B4319E #B48831 #31B447 #315DB4
square
#B4319E #B48831 #31B447 #315DB4
split-complementary
#B4319E #5DB431 #31B488
monochromatic
#54174A #842474 #B4319E #D052BB #DD82CE

Accessibility & contrast

On white

5.42
#B4319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B4319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4319E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4319E#FFFFFF#000000##FFFFFF
##B4319E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#BD3B64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4319e;
/* rgb */ color: rgb(180, 49, 158);
/* oklch */ color: oklch(55.1% 0.203 335.7);
Tailwind
colors: {
  custom: {
    50: '#ce76bb',
    500: '#b4319e',
    950: '#000000',
  },
}
SCSS
$custom: #b4319e;
$custom-light: #ce76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4319e",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 310.076,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.20251,
    "h": 335.7
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#B4319E
secondary
#7BC687
accent
#E06147
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4319E

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

Preview Lab → · Contrast checker → · Palette generator →

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