#B9319E#B9319E

#B9319E is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.205 H 337.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B9319E
RGBrgb(185, 49, 158)
HSLhsl(312, 58%, 46%)
HSVhsv(312, 74%, 73%)
CMYKcmyk(0%, 73.5%, 14.6%, 27.5%)
CIE-LABlab(45.61, 64.25, -29.19)
CIE-LCHlch(45.61, 70.57, 335.57°)
OKLaboklab(55.83% 0.1895 -0.0794)
OKLCHoklch(55.83% 0.205 337.3)
XYZxyz(27.2780, 14.9821, 33.7963)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9319E #31B94C
analogous
#9031B9 #B9319E #B9315A
triadic
#B9319E #9EB931 #319EB9
tetradic
#B9319E #B99031 #31B94C #315AB9
square
#B9319E #B99031 #31B94C #315AB9
split-complementary
#B9319E #5AB931 #31B990
monochromatic
#58174B #892475 #B9319E #D255B9 #DF86CD

Accessibility & contrast

On white

5.26
#B9319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B9319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9319E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9319E#FFFFFF#000000##FFFFFF
##B9319E1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA1
Deuteranopia (green-blind)
#64739B
Tritanopia (blue-blind)
#C33964
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9319e;
/* rgb */ color: rgb(185, 49, 158);
/* oklch */ color: oklch(55.8% 0.205 337.3);
Tailwind
colors: {
  custom: {
    50: '#d276bb',
    500: '#b9319e',
    950: '#000000',
  },
}
SCSS
$custom: #b9319e;
$custom-light: #d276bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b9319e",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 311.912,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5583,
    "c": 0.20541,
    "h": 337.3
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#B9319E
secondary
#7DC88C
accent
#E16546
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B9319E

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

Preview Lab → · Contrast checker → · Palette generator →

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