#B7317A#B7317A

#B7317A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.183 H 351.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B7317A
RGBrgb(183, 49, 122)
HSLhsl(327, 58%, 45%)
HSVhsv(327, 73%, 72%)
CMYKcmyk(0%, 73.2%, 33.3%, 28.2%)
CIE-LABlab(43.76, 59.07, -10.23)
CIE-LCHlch(43.76, 59.95, 350.17°)
OKLaboklab(53.93% 0.1808 -0.0265)
OKLCHoklch(53.93% 0.183 351.7)
XYZxyz(24.1410, 13.6719, 19.7762)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7317A #31B76E
analogous
#B131B7 #B7317A #B73137
triadic
#B7317A #7AB731 #317AB7
tetradic
#B7317A #B7B131 #31B76E #3137B7
square
#B7317A #B7B131 #31B76E #3137B7
split-complementary
#B7317A #37B731 #31B7B1
monochromatic
#56173A #87245A #B7317A #D15498 #DE84B5

Accessibility & contrast

On white

5.62
#B7317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B7317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7317A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7317A#FFFFFF#000000##FFFFFF
##B7317A1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#6E7077
Tritanopia (blue-blind)
#C52751
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b7317a;
/* rgb */ color: rgb(183, 49, 122);
/* oklch */ color: oklch(53.9% 0.183 351.7);
Tailwind
colors: {
  custom: {
    50: '#d175a0',
    500: '#b7317a',
    950: '#000000',
  },
}
SCSS
$custom: #b7317a;
$custom-light: #d175a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b7317a",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 327.313,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.18269,
    "h": 351.7
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#B7317A
secondary
#7CC89F
accent
#E18D47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B7317A

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

Preview Lab → · Contrast checker → · Palette generator →

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