#B8315F#B8315F

#B8315F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.174 H 4.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B8315F
RGBrgb(184, 49, 95)
HSLhsl(340, 58%, 46%)
HSVhsv(340, 73%, 72%)
CMYKcmyk(0%, 73.4%, 48.4%, 27.8%)
CIE-LABlab(43.09, 56.59, 5.54)
CIE-LCHlch(43.09, 56.86, 5.59°)
OKLaboklab(53.19% 0.173 0.0147)
OKLCHoklch(53.19% 0.174 4.9)
XYZxyz(22.9330, 13.2163, 12.1676)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8315F #31B88A
analogous
#B831A2 #B8315F #B84731
triadic
#B8315F #5FB831 #315FB8
tetradic
#B8315F #A2B831 #31B88A #4731B8
square
#B8315F #A2B831 #31B88A #4731B8
split-complementary
#B8315F #31B847 #31A2B8
monochromatic
#57172D #882446 #B8315F #D2557F #DE85A3

Accessibility & contrast

On white

5.77
#B8315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B8315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8315F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8315F#FFFFFF#000000##FFFFFF
##B8315F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#756F5C
Tritanopia (blue-blind)
#C81644
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8315f;
/* rgb */ color: rgb(184, 49, 95);
/* oklch */ color: oklch(53.2% 0.174 4.9);
Tailwind
colors: {
  custom: {
    50: '#d3748c',
    500: '#b8315f',
    950: '#000000',
  },
}
SCSS
$custom: #b8315f;
$custom-light: #d3748c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8315f",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 339.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.17361,
    "h": 4.9
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#B8315F
secondary
#7DC8AE
accent
#E1AD47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B8315F

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

Preview Lab → · Contrast checker → · Palette generator →

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