#B5314C#B5314C

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

Color values

HEX#B5314C
RGBrgb(181, 49, 76)
HSLhsl(348, 57%, 45%)
HSVhsv(348, 73%, 71%)
CMYKcmyk(0%, 72.9%, 58%, 29%)
CIE-LABlab(42.07, 54.17, 15.91)
CIE-LCHlch(42.07, 56.45, 16.37°)
OKLaboklab(52.19% 0.1631 0.0395)
OKLCHoklch(52.19% 0.168 13.6)
XYZxyz(21.4610, 12.5452, 8.1275)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5314C #31B59A
analogous
#B5318E #B5314C #B55831
triadic
#B5314C #4CB531 #314CB5
tetradic
#B5314C #8EB531 #31B59A #5831B5
square
#B5314C #8EB531 #31B59A #5831B5
split-complementary
#B5314C #31B558 #318EB5
monochromatic
#551724 #852438 #B5314C #D0536C #DD8395

Accessibility & contrast

On white

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

On black

3.51
#B5314C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B5314C#FFFFFF#000000##FFFFFF
##B5314C1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54524C
Deuteranopia (green-blind)
#766D49
Tritanopia (blue-blind)
#C60A3C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5314c;
/* rgb */ color: rgb(181, 49, 76);
/* oklch */ color: oklch(52.2% 0.168 13.6);
Tailwind
colors: {
  custom: {
    50: '#d2737d',
    500: '#b5314c',
    950: '#000000',
  },
}
SCSS
$custom: #b5314c;
$custom-light: #d2737d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5314c",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 347.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.16785,
    "h": 13.6
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#B5314C
secondary
#7BC7B7
accent
#E1C147
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B5314C

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

Preview Lab → · Contrast checker → · Palette generator →

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