#B8315E#B8315E

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

Color values

HEX#B8315E
RGBrgb(184, 49, 94)
HSLhsl(340, 58%, 46%)
HSVhsv(340, 73%, 72%)
CMYKcmyk(0%, 73.4%, 48.9%, 27.8%)
CIE-LABlab(43.06, 56.50, 6.13)
CIE-LCHlch(43.06, 56.83, 6.19°)
OKLaboklab(53.16% 0.1726 0.0162)
OKLCHoklch(53.16% 0.173 5.4)
XYZxyz(22.8878, 13.1982, 11.9298)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8315E #31B88B
analogous
#B831A1 #B8315E #B84731
triadic
#B8315E #5EB831 #315EB8
tetradic
#B8315E #A1B831 #31B88B #4731B8
square
#B8315E #A1B831 #31B88B #4731B8
split-complementary
#B8315E #31B847 #31A1B8
monochromatic
#57172D #882445 #B8315E #D2557E #DE85A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8315E#FFFFFF#000000##FFFFFF
##B8315E1.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)
#51555F
Deuteranopia (green-blind)
#756F5B
Tritanopia (blue-blind)
#C81544
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8315e;
/* rgb */ color: rgb(184, 49, 94);
/* oklch */ color: oklch(53.2% 0.173 5.4);
Tailwind
colors: {
  custom: {
    50: '#d3748b',
    500: '#b8315e',
    950: '#000000',
  },
}
SCSS
$custom: #b8315e;
$custom-light: #d3748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8315e",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 340,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.17338,
    "h": 5.4
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#B8315E
secondary
#7DC8AF
accent
#E1AE47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B8315E

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

Preview Lab → · Contrast checker → · Palette generator →

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