#B8319E#B8319E

#B8319E is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.7% C 0.205 H 337.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B8319E
RGBrgb(184, 49, 158)
HSLhsl(312, 58%, 46%)
HSVhsv(312, 73%, 72%)
CMYKcmyk(0%, 73.4%, 14.1%, 27.8%)
CIE-LABlab(45.44, 64.01, -29.47)
CIE-LCHlch(45.44, 70.47, 335.28°)
OKLaboklab(55.68% 0.1885 -0.0802)
OKLCHoklch(55.68% 0.205 337)
XYZxyz(27.0375, 14.8581, 33.7851)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8319E #31B84B
analogous
#8F31B8 #B8319E #B8315A
triadic
#B8319E #9EB831 #319EB8
tetradic
#B8319E #B88F31 #31B84B #315AB8
square
#B8319E #B88F31 #31B84B #315AB8
split-complementary
#B8319E #5AB831 #31B88F
monochromatic
#57174B #882474 #B8319E #D255BA #DE85CD

Accessibility & contrast

On white

5.29
#B8319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B8319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8319E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8319E#FFFFFF#000000##FFFFFF
##B8319E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA1
Deuteranopia (green-blind)
#63739B
Tritanopia (blue-blind)
#C23964
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8319e;
/* rgb */ color: rgb(184, 49, 158);
/* oklch */ color: oklch(55.7% 0.205 337.0);
Tailwind
colors: {
  custom: {
    50: '#d176bb',
    500: '#b8319e',
    950: '#000000',
  },
}
SCSS
$custom: #b8319e;
$custom-light: #d176bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8319e",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 311.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55675,
    "c": 0.20482,
    "h": 337
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#B8319E
secondary
#7DC88B
accent
#E16447
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B8319E

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

Preview Lab → · Contrast checker → · Palette generator →

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