#B9317F#B9317F

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

Color values

HEX#B9317F
RGBrgb(185, 49, 127)
HSLhsl(326, 58%, 46%)
HSVhsv(326, 74%, 73%)
CMYKcmyk(0%, 73.5%, 31.4%, 27.5%)
CIE-LABlab(44.30, 60.18, -12.45)
CIE-LCHlch(44.30, 61.46, 348.31°)
OKLaboklab(54.45% 0.1838 -0.0325)
OKLCHoklch(54.45% 0.187 350)
XYZxyz(24.9380, 14.0461, 21.4724)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9317F #31B96B
analogous
#AF31B9 #B9317F #B9313B
triadic
#B9317F #7FB931 #317FB9
tetradic
#B9317F #B9AF31 #31B96B #313BB9
square
#B9317F #B9AF31 #31B96B #313BB9
split-complementary
#B9317F #3BB931 #31B9AF
monochromatic
#58173D #89245E #B9317F #D2559D #DF86B9

Accessibility & contrast

On white

5.51
#B9317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B9317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9317F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9317F#FFFFFF#000000##FFFFFF
##B9317F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#C72954
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9317f;
/* rgb */ color: rgb(185, 49, 127);
/* oklch */ color: oklch(54.4% 0.187 350.0);
Tailwind
colors: {
  custom: {
    50: '#d275a4',
    500: '#b9317f',
    950: '#000000',
  },
}
SCSS
$custom: #b9317f;
$custom-light: #d275a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b9317f",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 325.588,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.18669,
    "h": 350
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#B9317F
secondary
#7DC89D
accent
#E18946
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B9317F

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

Preview Lab → · Contrast checker → · Palette generator →

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