#B9317C#B9317C

#B9317C is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.185 H 351.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B9317C
RGBrgb(185, 49, 124)
HSLhsl(327, 58%, 46%)
HSVhsv(327, 74%, 73%)
CMYKcmyk(0%, 73.5%, 33%, 27.5%)
CIE-LABlab(44.19, 59.84, -10.78)
CIE-LCHlch(44.19, 60.80, 349.79°)
OKLaboklab(54.33% 0.1831 -0.0279)
OKLCHoklch(54.33% 0.185 351.3)
XYZxyz(24.7454, 13.9690, 20.4580)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9317C #31B96E
analogous
#B231B9 #B9317C #B93138
triadic
#B9317C #7CB931 #317CB9
tetradic
#B9317C #B9B231 #31B96E #3138B9
square
#B9317C #B9B231 #31B96E #3138B9
split-complementary
#B9317C #38B931 #31B9B2
monochromatic
#58173B #89245C #B9317C #D2559A #DF86B7

Accessibility & contrast

On white

5.54
#B9317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B9317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9317C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9317C#FFFFFF#000000##FFFFFF
##B9317C1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#C72752
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9317c;
/* rgb */ color: rgb(185, 49, 124);
/* oklch */ color: oklch(54.3% 0.185 351.3);
Tailwind
colors: {
  custom: {
    50: '#d375a2',
    500: '#b9317c',
    950: '#000000',
  },
}
SCSS
$custom: #b9317c;
$custom-light: #d375a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9317c",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 326.912,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.18519,
    "h": 351.3
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#B9317C
secondary
#7DC89F
accent
#E18C46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B9317C

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

Preview Lab → · Contrast checker → · Palette generator →

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