#B9317D#B9317D

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

Color values

HEX#B9317D
RGBrgb(185, 49, 125)
HSLhsl(326, 58%, 46%)
HSVhsv(326, 74%, 73%)
CMYKcmyk(0%, 73.5%, 32.4%, 27.5%)
CIE-LABlab(44.23, 59.95, -11.34)
CIE-LCHlch(44.23, 61.01, 349.29°)
OKLaboklab(54.37% 0.1833 -0.0294)
OKLCHoklch(54.37% 0.186 350.9)
XYZxyz(24.8089, 13.9945, 20.7928)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9317D #31B96D
analogous
#B131B9 #B9317D #B93139
triadic
#B9317D #7DB931 #317DB9
tetradic
#B9317D #B9B131 #31B96D #3139B9
square
#B9317D #B9B131 #31B96D #3139B9
split-complementary
#B9317D #39B931 #31B9B1
monochromatic
#58173C #89245C #B9317D #D2559B #DF86B7

Accessibility & contrast

On white

5.53
#B9317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9317D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9317D#FFFFFF#000000##FFFFFF
##B9317D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#6F717A
Tritanopia (blue-blind)
#C72853
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9317d;
/* rgb */ color: rgb(185, 49, 125);
/* oklch */ color: oklch(54.4% 0.186 350.9);
Tailwind
colors: {
  custom: {
    50: '#d375a2',
    500: '#b9317d',
    950: '#000000',
  },
}
SCSS
$custom: #b9317d;
$custom-light: #d375a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9317d",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 326.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.18568,
    "h": 350.9
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9317D

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

Preview Lab → · Contrast checker → · Palette generator →

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