#B6317E#B6317E

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

Color values

HEX#B6317E
RGBrgb(182, 49, 126)
HSLhsl(325, 58%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 73.1%, 30.8%, 28.6%)
CIE-LABlab(43.73, 59.27, -12.75)
CIE-LCHlch(43.73, 60.63, 347.86°)
OKLaboklab(53.92% 0.1809 -0.0333)
OKLCHoklch(53.92% 0.184 349.6)
XYZxyz(24.1569, 13.6508, 21.0973)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6317E #31B669
analogous
#AB31B6 #B6317E #B6313B
triadic
#B6317E #7EB631 #317EB6
tetradic
#B6317E #B6AB31 #31B669 #313BB6
square
#B6317E #B6AB31 #31B669 #313BB6
split-complementary
#B6317E #3BB631 #31B6AB
monochromatic
#56173B #86245D #B6317E #D1539C #DE84B8

Accessibility & contrast

On white

5.63
#B6317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6317E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6317E#FFFFFF#000000##FFFFFF
##B6317E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#C32A53
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b6317e;
/* rgb */ color: rgb(182, 49, 126);
/* oklch */ color: oklch(53.9% 0.184 349.6);
Tailwind
colors: {
  custom: {
    50: '#d075a3',
    500: '#b6317e',
    950: '#000000',
  },
}
SCSS
$custom: #b6317e;
$custom-light: #d075a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b6317e",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 325.263,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.18393,
    "h": 349.6
  },
  "luminance": 0.13648
}

Semantic roles & 50–950 ramp

primary
#B6317E
secondary
#7CC79B
accent
#E18847
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B6317E

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

Preview Lab → · Contrast checker → · Palette generator →

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