#B5314A#B5314A

#B5314A is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.1% C 0.168 H 14.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B5314A
RGBrgb(181, 49, 74)
HSLhsl(349, 57%, 45%)
HSVhsv(349, 73%, 71%)
CMYKcmyk(0%, 72.9%, 59.1%, 29%)
CIE-LABlab(42.03, 54.02, 17.10)
CIE-LCHlch(42.03, 56.67, 17.57°)
OKLaboklab(52.14% 0.1624 0.0422)
OKLCHoklch(52.14% 0.168 14.6)
XYZxyz(21.3925, 12.5178, 7.7670)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5314A #31B59C
analogous
#B5318C #B5314A #B55A31
triadic
#B5314A #4AB531 #314AB5
tetradic
#B5314A #8CB531 #31B59C #5A31B5
square
#B5314A #8CB531 #31B59C #5A31B5
split-complementary
#B5314A #31B55A #318CB5
monochromatic
#551723 #852436 #B5314A #D0536B #DD8394

Accessibility & contrast

On white

5.99
#B5314A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B5314A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5314A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5314A#FFFFFF#000000##FFFFFF
##B5314A1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54524A
Deuteranopia (green-blind)
#766D47
Tritanopia (blue-blind)
#C6083B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5314a;
/* rgb */ color: rgb(181, 49, 74);
/* oklch */ color: oklch(52.1% 0.168 14.6);
Tailwind
colors: {
  custom: {
    50: '#d2737c',
    500: '#b5314a',
    950: '#000000',
  },
}
SCSS
$custom: #b5314a;
$custom-light: #d2737c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5314a",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 348.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.16774,
    "h": 14.6
  },
  "luminance": 0.12515
}

Semantic roles & 50–950 ramp

primary
#B5314A
secondary
#7BC7B8
accent
#E1C447
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B5314A

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

Preview Lab → · Contrast checker → · Palette generator →

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