#B6317B#B6317B

#B6317B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.182 H 350.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B6317B
RGBrgb(182, 49, 123)
HSLhsl(327, 58%, 45%)
HSVhsv(327, 73%, 71%)
CMYKcmyk(0%, 73.1%, 32.4%, 28.6%)
CIE-LABlab(43.62, 58.91, -11.08)
CIE-LCHlch(43.62, 59.95, 349.35°)
OKLaboklab(53.8% 0.1801 -0.0288)
OKLCHoklch(53.8% 0.182 350.9)
XYZxyz(23.9662, 13.5745, 20.0931)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6317B #31B66C
analogous
#AF31B6 #B6317B #B63138
triadic
#B6317B #7BB631 #317BB6
tetradic
#B6317B #B6AF31 #31B66C #3138B6
square
#B6317B #B6AF31 #31B66C #3138B6
split-complementary
#B6317B #38B631 #31B6AF
monochromatic
#56173A #86245A #B6317B #D15399 #DE84B6

Accessibility & contrast

On white

5.65
#B6317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B6317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6317B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6317B#FFFFFF#000000##FFFFFF
##B6317B1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6317b;
/* rgb */ color: rgb(182, 49, 123);
/* oklch */ color: oklch(53.8% 0.182 350.9);
Tailwind
colors: {
  custom: {
    50: '#d075a1',
    500: '#b6317b',
    950: '#000000',
  },
}
SCSS
$custom: #b6317b;
$custom-light: #d075a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b6317b",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 326.617,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.18241,
    "h": 350.9
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#B6317B
secondary
#7CC79D
accent
#E18B47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B6317B

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

Preview Lab → · Contrast checker → · Palette generator →

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