#B7317B#B7317B

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

Color values

HEX#B7317B
RGBrgb(183, 49, 123)
HSLhsl(327, 58%, 45%)
HSVhsv(327, 73%, 72%)
CMYKcmyk(0%, 73.2%, 32.8%, 28.2%)
CIE-LABlab(43.79, 59.18, -10.79)
CIE-LCHlch(43.79, 60.16, 349.67°)
OKLaboklab(53.97% 0.181 -0.028)
OKLCHoklch(53.97% 0.183 351.2)
XYZxyz(24.2033, 13.6968, 20.1042)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7317B #31B76D
analogous
#B031B7 #B7317B #B73138
triadic
#B7317B #7BB731 #317BB7
tetradic
#B7317B #B7B031 #31B76D #3138B7
square
#B7317B #B7B031 #31B76D #3138B7
split-complementary
#B7317B #38B731 #31B7B0
monochromatic
#56173A #87245B #B7317B #D15499 #DE84B6

Accessibility & contrast

On white

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

On black

3.74
#B7317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B7317B#FFFFFF#000000##FFFFFF
##B7317B1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6E7078
Tritanopia (blue-blind)
#C52752
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b7317b;
/* rgb */ color: rgb(183, 49, 123);
/* oklch */ color: oklch(54.0% 0.183 351.2);
Tailwind
colors: {
  custom: {
    50: '#d175a1',
    500: '#b7317b',
    950: '#000000',
  },
}
SCSS
$custom: #b7317b;
$custom-light: #d175a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b7317b",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 326.866,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.18317,
    "h": 351.2
  },
  "luminance": 0.13694
}

Semantic roles & 50–950 ramp

primary
#B7317B
secondary
#7CC89E
accent
#E18C47
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B7317B

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

Preview Lab → · Contrast checker → · Palette generator →

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