#B8319F#B8319F

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

Color values

HEX#B8319F
RGBrgb(184, 49, 159)
HSLhsl(311, 58%, 46%)
HSVhsv(311, 73%, 72%)
CMYKcmyk(0%, 73.4%, 13.6%, 27.8%)
CIE-LABlab(45.49, 64.16, -29.99)
CIE-LCHlch(45.49, 70.82, 334.94°)
OKLaboklab(55.73% 0.1886 -0.0817)
OKLCHoklch(55.73% 0.206 336.6)
XYZxyz(27.1239, 14.8927, 34.2402)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8319F #31B84A
analogous
#8D31B8 #B8319F #B8315B
triadic
#B8319F #9FB831 #319FB8
tetradic
#B8319F #B88D31 #31B84A #315BB8
square
#B8319F #B88D31 #31B84A #315BB8
split-complementary
#B8319F #5BB831 #31B88D
monochromatic
#57174B #882475 #B8319F #D255BA #DE85CE

Accessibility & contrast

On white

5.28
#B8319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B8319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8319F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8319F#FFFFFF#000000##FFFFFF
##B8319F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#63739C
Tritanopia (blue-blind)
#C23A65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8319f;
/* rgb */ color: rgb(184, 49, 159);
/* oklch */ color: oklch(55.7% 0.206 336.6);
Tailwind
colors: {
  custom: {
    50: '#d176bb',
    500: '#b8319f',
    950: '#000000',
  },
}
SCSS
$custom: #b8319f;
$custom-light: #d176bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8319f",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 311.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.20551,
    "h": 336.6
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#B8319F
secondary
#7DC88B
accent
#E16347
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B8319F

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

Preview Lab → · Contrast checker → · Palette generator →

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