#B9319C#B9319C

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

Color values

HEX#B9319C
RGBrgb(185, 49, 156)
HSLhsl(313, 58%, 46%)
HSVhsv(313, 74%, 73%)
CMYKcmyk(0%, 73.5%, 15.7%, 27.5%)
CIE-LABlab(45.52, 63.96, -28.14)
CIE-LCHlch(45.52, 69.88, 336.25°)
OKLaboklab(55.73% 0.1892 -0.0764)
OKLCHoklch(55.73% 0.204 338)
XYZxyz(27.1072, 14.9138, 32.8971)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9319C #31B94E
analogous
#9231B9 #B9319C #B93158
triadic
#B9319C #9CB931 #319CB9
tetradic
#B9319C #B99231 #31B94E #3158B9
square
#B9319C #B99231 #31B94E #3158B9
split-complementary
#B9319C #58B931 #31B992
monochromatic
#58174A #892473 #B9319C #D255B7 #DF86CC

Accessibility & contrast

On white

5.27
#B9319C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9319C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9319C#FFFFFF#000000##FFFFFF
##B9319C1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#657399
Tritanopia (blue-blind)
#C33863
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9319c;
/* rgb */ color: rgb(185, 49, 156);
/* oklch */ color: oklch(55.7% 0.204 338.0);
Tailwind
colors: {
  custom: {
    50: '#d276b9',
    500: '#b9319c',
    950: '#000000',
  },
}
SCSS
$custom: #b9319c;
$custom-light: #d276b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b9319c",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 312.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.20406,
    "h": 338
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#B9319C
secondary
#7DC88D
accent
#E16746
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #B9319C

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

Preview Lab → · Contrast checker → · Palette generator →

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