#B8315D#B8315D

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

Color values

HEX#B8315D
RGBrgb(184, 49, 93)
HSLhsl(340, 58%, 46%)
HSVhsv(340, 73%, 72%)
CMYKcmyk(0%, 73.4%, 49.5%, 27.8%)
CIE-LABlab(43.03, 56.41, 6.71)
CIE-LCHlch(43.03, 56.81, 6.79°)
OKLaboklab(53.13% 0.1722 0.0176)
OKLCHoklch(53.13% 0.173 5.8)
XYZxyz(22.8432, 13.1804, 11.6950)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8315D #31B88C
analogous
#B831A1 #B8315D #B84831
triadic
#B8315D #5DB831 #315DB8
tetradic
#B8315D #A1B831 #31B88C #4831B8
square
#B8315D #A1B831 #31B88C #4831B8
split-complementary
#B8315D #31B848 #31A1B8
monochromatic
#57172C #882445 #B8315D #D2557D #DE85A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8315D#FFFFFF#000000##FFFFFF
##B8315D1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555E
Deuteranopia (green-blind)
#756F5A
Tritanopia (blue-blind)
#C81443
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8315d;
/* rgb */ color: rgb(184, 49, 93);
/* oklch */ color: oklch(53.1% 0.173 5.8);
Tailwind
colors: {
  custom: {
    50: '#d3748a',
    500: '#b8315d',
    950: '#000000',
  },
}
SCSS
$custom: #b8315d;
$custom-light: #d3748a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8315d",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 340.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.17315,
    "h": 5.8
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

primary
#B8315D
secondary
#7DC8AF
accent
#E1AF47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B8315D

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

Preview Lab → · Contrast checker → · Palette generator →

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