#B6317D#B6317D

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

Color values

HEX#B6317D
RGBrgb(182, 49, 125)
HSLhsl(326, 58%, 45%)
HSVhsv(326, 73%, 71%)
CMYKcmyk(0%, 73.1%, 31.3%, 28.6%)
CIE-LABlab(43.69, 59.15, -12.20)
CIE-LCHlch(43.69, 60.39, 348.35°)
OKLaboklab(53.88% 0.1806 -0.0318)
OKLCHoklch(53.88% 0.183 350)
XYZxyz(24.0927, 13.6251, 20.7592)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6317D #31B66A
analogous
#AC31B6 #B6317D #B6313B
triadic
#B6317D #7DB631 #317DB6
tetradic
#B6317D #B6AC31 #31B66A #313BB6
square
#B6317D #B6AC31 #31B66A #313BB6
split-complementary
#B6317D #3BB631 #31B6AC
monochromatic
#56173B #86245C #B6317D #D1539B #DE84B7

Accessibility & contrast

On white

5.64
#B6317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B6317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6317D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6317D#FFFFFF#000000##FFFFFF
##B6317D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#6D707A
Tritanopia (blue-blind)
#C32953
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b6317d;
/* rgb */ color: rgb(182, 49, 125);
/* oklch */ color: oklch(53.9% 0.183 350.0);
Tailwind
colors: {
  custom: {
    50: '#d075a2',
    500: '#b6317d',
    950: '#000000',
  },
}
SCSS
$custom: #b6317d;
$custom-light: #d075a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b6317d",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 325.714,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.18342,
    "h": 350
  },
  "luminance": 0.13622
}

Semantic roles & 50–950 ramp

primary
#B6317D
secondary
#7CC79C
accent
#E18947
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B6317D

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

Preview Lab → · Contrast checker → · Palette generator →

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