#B9317A#B9317A

#B9317A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.184 H 352.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B9317A
RGBrgb(185, 49, 122)
HSLhsl(328, 58%, 46%)
HSVhsv(328, 74%, 73%)
CMYKcmyk(0%, 73.5%, 34.1%, 27.5%)
CIE-LABlab(44.12, 59.61, -9.66)
CIE-LCHlch(44.12, 60.38, 350.80°)
OKLaboklab(54.26% 0.1825 -0.0249)
OKLCHoklch(54.26% 0.184 352.2)
XYZxyz(24.6202, 13.9190, 19.7987)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9317A #31B970
analogous
#B431B9 #B9317A #B93136
triadic
#B9317A #7AB931 #317AB9
tetradic
#B9317A #B9B431 #31B970 #3136B9
square
#B9317A #B9B431 #31B970 #3136B9
split-complementary
#B9317A #36B931 #31B9B4
monochromatic
#58173A #89245A #B9317A #D25598 #DF86B5

Accessibility & contrast

On white

5.55
#B9317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B9317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9317A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9317A#FFFFFF#000000##FFFFFF
##B9317A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#6F7177
Tritanopia (blue-blind)
#C72651
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9317a;
/* rgb */ color: rgb(185, 49, 122);
/* oklch */ color: oklch(54.3% 0.184 352.2);
Tailwind
colors: {
  custom: {
    50: '#d375a0',
    500: '#b9317a',
    950: '#000000',
  },
}
SCSS
$custom: #b9317a;
$custom-light: #d375a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9317a",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 327.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.18423,
    "h": 352.2
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#B9317A
secondary
#7DC8A0
accent
#E18E46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B9317A

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

Preview Lab → · Contrast checker → · Palette generator →

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