#B8319B#B8319B

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

Color values

HEX#B8319B
RGBrgb(184, 49, 155)
HSLhsl(313, 58%, 46%)
HSVhsv(313, 73%, 72%)
CMYKcmyk(0%, 73.4%, 15.8%, 27.8%)
CIE-LABlab(45.30, 63.58, -27.89)
CIE-LCHlch(45.30, 69.43, 336.31°)
OKLaboklab(55.53% 0.1881 -0.0757)
OKLCHoklch(55.53% 0.203 338.1)
XYZxyz(26.7825, 14.7561, 32.4417)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8319B #31B84E
analogous
#9131B8 #B8319B #B83157
triadic
#B8319B #9BB831 #319BB8
tetradic
#B8319B #B89131 #31B84E #3157B8
square
#B8319B #B89131 #31B84E #3157B8
split-complementary
#B8319B #57B831 #31B891
monochromatic
#57174A #882472 #B8319B #D255B7 #DE85CB

Accessibility & contrast

On white

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

On black

3.95
#B8319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B8319B#FFFFFF#000000##FFFFFF
##B8319B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#647398
Tritanopia (blue-blind)
#C23862
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8319b;
/* rgb */ color: rgb(184, 49, 155);
/* oklch */ color: oklch(55.5% 0.203 338.1);
Tailwind
colors: {
  custom: {
    50: '#d176b9',
    500: '#b8319b',
    950: '#000000',
  },
}
SCSS
$custom: #b8319b;
$custom-light: #d176b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b8319b",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 312.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55527,
    "c": 0.20279,
    "h": 338.1
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#B8319B
secondary
#7DC88D
accent
#E16847
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8319B

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

Preview Lab → · Contrast checker → · Palette generator →

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