#B8316D#B8316D

#B8316D is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.178 H 358.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B8316D
RGBrgb(184, 49, 109)
HSLhsl(333, 58%, 46%)
HSVhsv(333, 73%, 72%)
CMYKcmyk(0%, 73.4%, 40.8%, 27.8%)
CIE-LABlab(43.50, 57.93, -2.57)
CIE-LCHlch(43.50, 57.98, 357.46°)
OKLaboklab(53.63% 0.1778 -0.006)
OKLCHoklch(53.63% 0.178 358.1)
XYZxyz(23.6275, 13.4941, 15.8254)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8316D #31B87C
analogous
#B831B0 #B8316D #B83831
triadic
#B8316D #6DB831 #316DB8
tetradic
#B8316D #B0B831 #31B87C #3831B8
square
#B8316D #B0B831 #31B87C #3831B8
split-complementary
#B8316D #31B838 #31B0B8
monochromatic
#571734 #882450 #B8316D #D2558C #DE85AD

Accessibility & contrast

On white

5.68
#B8316D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B8316D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8316D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8316D#FFFFFF#000000##FFFFFF
##B8316D1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D576F
Deuteranopia (green-blind)
#72706A
Tritanopia (blue-blind)
#C71F4B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8316d;
/* rgb */ color: rgb(184, 49, 109);
/* oklch */ color: oklch(53.6% 0.178 358.1);
Tailwind
colors: {
  custom: {
    50: '#d27596',
    500: '#b8316d',
    950: '#000000',
  },
}
SCSS
$custom: #b8316d;
$custom-light: #d27596;
$custom-dark: #000000;
JSON
{
  "hex": "#b8316d",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 333.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.1779,
    "h": 358.1
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#B8316D
secondary
#7DC8A7
accent
#E19C47
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8316D

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

Preview Lab → · Contrast checker → · Palette generator →

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