#B0313A#B0313A

#B0313A is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.163 H 21.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B0313A
RGBrgb(176, 49, 58)
HSLhsl(356, 56%, 44%)
HSVhsv(356, 72%, 69%)
CMYKcmyk(0%, 72.2%, 67%, 31%)
CIE-LABlab(40.79, 51.45, 25.23)
CIE-LCHlch(40.79, 57.31, 26.12°)
OKLaboklab(50.95% 0.1517 0.0595)
OKLCHoklch(50.95% 0.163 21.4)
XYZxyz(19.7686, 11.7351, 5.2263)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0313A #31B0A7
analogous
#B0317A #B0313A #B06831
triadic
#B0313A #3AB031 #313AB0
tetradic
#B0313A #7AB031 #31B0A7 #6831B0
square
#B0313A #7AB031 #31B0A7 #6831B0
split-complementary
#B0313A #31B068 #317AB0
monochromatic
#50161A #80242A #B0313A #CE5059 #DC8086

Accessibility & contrast

On white

6.28
#B0313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B0313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0313A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0313A#FFFFFF#000000##FFFFFF
##B0313A1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F39
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#C10335
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b0313a;
/* rgb */ color: rgb(176, 49, 58);
/* oklch */ color: oklch(51.0% 0.163 21.4);
Tailwind
colors: {
  custom: {
    50: '#cf7270',
    500: '#b0313a',
    950: '#000000',
  },
}
SCSS
$custom: #b0313a;
$custom-light: #cf7270;
$custom-dark: #000000;
JSON
{
  "hex": "#b0313a",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 355.748,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.1629,
    "h": 21.4
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#B0313A
secondary
#78C5BF
accent
#E0D548
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B0313A

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

Preview Lab → · Contrast checker → · Palette generator →

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