#B8319A#B8319A

#B8319A is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.5% C 0.202 H 338.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B8319A
RGBrgb(184, 49, 154)
HSLhsl(313, 58%, 46%)
HSVhsv(313, 73%, 72%)
CMYKcmyk(0%, 73.4%, 16.3%, 27.8%)
CIE-LABlab(45.25, 63.44, -27.37)
CIE-LCHlch(45.25, 69.09, 336.67°)
OKLaboklab(55.48% 0.188 -0.0742)
OKLCHoklch(55.48% 0.202 338.5)
XYZxyz(26.6988, 14.7226, 32.0012)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8319A #31B84F
analogous
#9231B8 #B8319A #B83157
triadic
#B8319A #9AB831 #319AB8
tetradic
#B8319A #B89231 #31B84F #3157B8
square
#B8319A #B89231 #31B84F #3157B8
split-complementary
#B8319A #57B831 #31B892
monochromatic
#571749 #882472 #B8319A #D255B6 #DE85CB

Accessibility & contrast

On white

5.32
#B8319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B8319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8319A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8319A#FFFFFF#000000##FFFFFF
##B8319A1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#C23762
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8319a;
/* rgb */ color: rgb(184, 49, 154);
/* oklch */ color: oklch(55.5% 0.202 338.5);
Tailwind
colors: {
  custom: {
    50: '#d176b8',
    500: '#b8319a',
    950: '#000000',
  },
}
SCSS
$custom: #b8319a;
$custom-light: #d176b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b8319a",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 313.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55479,
    "c": 0.20212,
    "h": 338.5
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#B8319A
secondary
#7DC88E
accent
#E16947
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8319A

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

Preview Lab → · Contrast checker → · Palette generator →

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