#B9317E#B9317E

#B9317E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.186 H 350.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B9317E
RGBrgb(185, 49, 126)
HSLhsl(326, 58%, 46%)
HSVhsv(326, 74%, 73%)
CMYKcmyk(0%, 73.5%, 31.9%, 27.5%)
CIE-LABlab(44.26, 60.07, -11.89)
CIE-LCHlch(44.26, 61.23, 348.80°)
OKLaboklab(54.41% 0.1836 -0.031)
OKLCHoklch(54.41% 0.186 350.4)
XYZxyz(24.8732, 14.0201, 21.1309)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9317E #31B96C
analogous
#B031B9 #B9317E #B9313A
triadic
#B9317E #7EB931 #317EB9
tetradic
#B9317E #B9B031 #31B96C #313AB9
square
#B9317E #B9B031 #31B96C #313AB9
split-complementary
#B9317E #3AB931 #31B9B0
monochromatic
#58173C #89245D #B9317E #D2559C #DF86B8

Accessibility & contrast

On white

5.52
#B9317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B9317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9317E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9317E#FFFFFF#000000##FFFFFF
##B9317E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#6E717B
Tritanopia (blue-blind)
#C72853
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9317e;
/* rgb */ color: rgb(185, 49, 126);
/* oklch */ color: oklch(54.4% 0.186 350.4);
Tailwind
colors: {
  custom: {
    50: '#d375a3',
    500: '#b9317e',
    950: '#000000',
  },
}
SCSS
$custom: #b9317e;
$custom-light: #d375a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b9317e",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 326.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.18618,
    "h": 350.4
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#B9317E
secondary
#7DC89E
accent
#E18A46
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B9317E

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

Preview Lab → · Contrast checker → · Palette generator →

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