#B8319D#B8319D

#B8319D is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.204 H 337.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B8319D
RGBrgb(184, 49, 157)
HSLhsl(312, 58%, 46%)
HSVhsv(312, 73%, 72%)
CMYKcmyk(0%, 73.4%, 14.7%, 27.8%)
CIE-LABlab(45.39, 63.87, -28.95)
CIE-LCHlch(45.39, 70.12, 335.62°)
OKLaboklab(55.63% 0.1884 -0.0787)
OKLCHoklch(55.63% 0.204 337.3)
XYZxyz(26.9518, 14.8238, 33.3336)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8319D #31B84C
analogous
#8F31B8 #B8319D #B83159
triadic
#B8319D #9DB831 #319DB8
tetradic
#B8319D #B88F31 #31B84C #3159B8
square
#B8319D #B88F31 #31B84C #3159B8
split-complementary
#B8319D #59B831 #31B88F
monochromatic
#57174B #882474 #B8319D #D255B9 #DE85CD

Accessibility & contrast

On white

5.30
#B8319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B8319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8319D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8319D#FFFFFF#000000##FFFFFF
##B8319D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#63739A
Tritanopia (blue-blind)
#C23963
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8319d;
/* rgb */ color: rgb(184, 49, 157);
/* oklch */ color: oklch(55.6% 0.204 337.3);
Tailwind
colors: {
  custom: {
    50: '#d176ba',
    500: '#b8319d',
    950: '#000000',
  },
}
SCSS
$custom: #b8319d;
$custom-light: #d176ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b8319d",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 312,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.20415,
    "h": 337.3
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#B8319D
secondary
#7DC88C
accent
#E16647
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8319D

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

Preview Lab → · Contrast checker → · Palette generator →

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