#B8316E#B8316E

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

Color values

HEX#B8316E
RGBrgb(184, 49, 110)
HSLhsl(333, 58%, 46%)
HSVhsv(333, 73%, 72%)
CMYKcmyk(0%, 73.4%, 40.2%, 27.8%)
CIE-LABlab(43.53, 58.03, -3.14)
CIE-LCHlch(43.53, 58.12, 356.90°)
OKLaboklab(53.66% 0.1781 -0.0075)
OKLCHoklch(53.66% 0.178 357.6)
XYZxyz(23.6816, 13.5157, 16.1105)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8316E #31B87B
analogous
#B831B1 #B8316E #B83731
triadic
#B8316E #6EB831 #316EB8
tetradic
#B8316E #B1B831 #31B87B #3731B8
square
#B8316E #B1B831 #31B87B #3731B8
split-complementary
#B8316E #31B837 #31B1B8
monochromatic
#571734 #882451 #B8316E #D2558D #DE85AD

Accessibility & contrast

On white

5.67
#B8316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8316E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8316E#FFFFFF#000000##FFFFFF
##B8316E1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8316e;
/* rgb */ color: rgb(184, 49, 110);
/* oklch */ color: oklch(53.7% 0.178 357.6);
Tailwind
colors: {
  custom: {
    50: '#d27597',
    500: '#b8316e',
    950: '#000000',
  },
}
SCSS
$custom: #b8316e;
$custom-light: #d27597;
$custom-dark: #000000;
JSON
{
  "hex": "#b8316e",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 332.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.17828,
    "h": 357.6
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#B8316E
secondary
#7DC8A6
accent
#E19B47
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8316E

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

Preview Lab → · Contrast checker → · Palette generator →

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