#B8315B#B8315B

#B8315B is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.173 H 6.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B8315B
RGBrgb(184, 49, 91)
HSLhsl(341, 58%, 46%)
HSVhsv(341, 73%, 72%)
CMYKcmyk(0%, 73.4%, 50.5%, 27.8%)
CIE-LABlab(42.98, 56.24, 7.89)
CIE-LCHlch(42.98, 56.79, 7.98°)
OKLaboklab(53.08% 0.1715 0.0205)
OKLCHoklch(53.08% 0.173 6.8)
XYZxyz(22.7558, 13.1454, 11.2345)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8315B #31B88E
analogous
#B8319E #B8315B #B84A31
triadic
#B8315B #5BB831 #315BB8
tetradic
#B8315B #9EB831 #31B88E #4A31B8
square
#B8315B #9EB831 #31B88E #4A31B8
split-complementary
#B8315B #31B84A #319EB8
monochromatic
#57172B #882443 #B8315B #D2557B #DE85A1

Accessibility & contrast

On white

5.79
#B8315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B8315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8315B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8315B#FFFFFF#000000##FFFFFF
##B8315B1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545C
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#C81342
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b8315b;
/* rgb */ color: rgb(184, 49, 91);
/* oklch */ color: oklch(53.1% 0.173 6.8);
Tailwind
colors: {
  custom: {
    50: '#d37489',
    500: '#b8315b',
    950: '#000000',
  },
}
SCSS
$custom: #b8315b;
$custom-light: #d37489;
$custom-dark: #000000;
JSON
{
  "hex": "#b8315b",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 341.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.17272,
    "h": 6.8
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#B8315B
secondary
#7DC8B1
accent
#E1B147
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B8315B

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

Preview Lab → · Contrast checker → · Palette generator →

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