#B6317F#B6317F

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

Color values

HEX#B6317F
RGBrgb(182, 49, 127)
HSLhsl(325, 58%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 73.1%, 30.2%, 28.6%)
CIE-LABlab(43.77, 59.39, -13.31)
CIE-LCHlch(43.77, 60.86, 347.37°)
OKLaboklab(53.96% 0.1811 -0.0349)
OKLCHoklch(53.96% 0.184 349.1)
XYZxyz(24.2217, 13.6767, 21.4389)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6317F #31B668
analogous
#AA31B6 #B6317F #B6313C
triadic
#B6317F #7FB631 #317FB6
tetradic
#B6317F #B6AA31 #31B668 #313CB6
square
#B6317F #B6AA31 #31B668 #313CB6
split-complementary
#B6317F #3CB631 #31B6AA
monochromatic
#56173C #86245D #B6317F #D1539D #DE84B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6317F#FFFFFF#000000##FFFFFF
##B6317F1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455981
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#C32A54
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b6317f;
/* rgb */ color: rgb(182, 49, 127);
/* oklch */ color: oklch(54.0% 0.184 349.1);
Tailwind
colors: {
  custom: {
    50: '#d075a4',
    500: '#b6317f',
    950: '#000000',
  },
}
SCSS
$custom: #b6317f;
$custom-light: #d075a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b6317f",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 324.812,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.18446,
    "h": 349.1
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#B6317F
secondary
#7CC79B
accent
#E18747
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B6317F

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

Preview Lab → · Contrast checker → · Palette generator →

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