#B6317A#B6317A

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

Color values

HEX#B6317A
RGBrgb(182, 49, 122)
HSLhsl(327, 58%, 45%)
HSVhsv(327, 73%, 71%)
CMYKcmyk(0%, 73.1%, 33%, 28.6%)
CIE-LABlab(43.58, 58.80, -10.52)
CIE-LCHlch(43.58, 59.73, 349.86°)
OKLaboklab(53.76% 0.1799 -0.0272)
OKLCHoklch(53.76% 0.182 351.4)
XYZxyz(23.9039, 13.5496, 19.7651)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6317A #31B66D
analogous
#B031B6 #B6317A #B63137
triadic
#B6317A #7AB631 #317AB6
tetradic
#B6317A #B6B031 #31B66D #3137B6
square
#B6317A #B6B031 #31B66D #3137B6
split-complementary
#B6317A #37B631 #31B6B0
monochromatic
#561739 #86245A #B6317A #D15398 #DE84B5

Accessibility & contrast

On white

5.66
#B6317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6317A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6317A#FFFFFF#000000##FFFFFF
##B6317A1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587C
Deuteranopia (green-blind)
#6D7077
Tritanopia (blue-blind)
#C42751
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b6317a;
/* rgb */ color: rgb(182, 49, 122);
/* oklch */ color: oklch(53.8% 0.182 351.4);
Tailwind
colors: {
  custom: {
    50: '#d075a0',
    500: '#b6317a',
    950: '#000000',
  },
}
SCSS
$custom: #b6317a;
$custom-light: #d075a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b6317a",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 327.068,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.18191,
    "h": 351.4
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#B6317A
secondary
#7CC79E
accent
#E18C47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B6317A

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

Preview Lab → · Contrast checker → · Palette generator →

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