#B8315C#B8315C

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

Color values

HEX#B8315C
RGBrgb(184, 49, 92)
HSLhsl(341, 58%, 46%)
HSVhsv(341, 73%, 72%)
CMYKcmyk(0%, 73.4%, 50%, 27.8%)
CIE-LABlab(43.01, 56.33, 7.30)
CIE-LCHlch(43.01, 56.80, 7.38°)
OKLaboklab(53.11% 0.1719 0.0191)
OKLCHoklch(53.11% 0.173 6.3)
XYZxyz(22.7992, 13.1628, 11.4632)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8315C #31B88D
analogous
#B8319F #B8315C #B84931
triadic
#B8315C #5CB831 #315CB8
tetradic
#B8315C #9FB831 #31B88D #4931B8
square
#B8315C #9FB831 #31B88D #4931B8
split-complementary
#B8315C #31B849 #319FB8
monochromatic
#57172C #882444 #B8315C #D2557C #DE85A1

Accessibility & contrast

On white

5.78
#B8315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8315C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8315C#FFFFFF#000000##FFFFFF
##B8315C1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545D
Deuteranopia (green-blind)
#756F59
Tritanopia (blue-blind)
#C81443
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8315c;
/* rgb */ color: rgb(184, 49, 92);
/* oklch */ color: oklch(53.1% 0.173 6.3);
Tailwind
colors: {
  custom: {
    50: '#d37489',
    500: '#b8315c',
    950: '#000000',
  },
}
SCSS
$custom: #b8315c;
$custom-light: #d37489;
$custom-dark: #000000;
JSON
{
  "hex": "#b8315c",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 340.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.17293,
    "h": 6.3
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#B8315C
secondary
#7DC8B0
accent
#E1B047
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B8315C

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

Preview Lab → · Contrast checker → · Palette generator →

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