#B5303A#B5303A

#B5303A is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.7% C 0.169 H 21.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B5303A
RGBrgb(181, 48, 58)
HSLhsl(355, 58%, 45%)
HSVhsv(355, 73%, 71%)
CMYKcmyk(0%, 73.5%, 68%, 29%)
CIE-LABlab(41.60, 53.39, 26.45)
CIE-LCHlch(41.60, 59.58, 26.35°)
OKLaboklab(51.73% 0.1572 0.062)
OKLCHoklch(51.73% 0.169 21.5)
XYZxyz(20.8790, 12.2463, 5.2665)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5303A #30B5AB
analogous
#B5307C #B5303A #B56930
triadic
#B5303A #3AB530 #303AB5
tetradic
#B5303A #7CB530 #30B5AB #6930B5
square
#B5303A #7CB530 #30B5AB #6930B5
split-complementary
#B5303A #30B569 #307CB5
monochromatic
#54161B #85232A #B5303A #D1515B #DE8289

Accessibility & contrast

On white

6.09
#B5303A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B5303A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5303A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5303A#FFFFFF#000000##FFFFFF
##B5303A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565039
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#C70035
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5303a;
/* rgb */ color: rgb(181, 48, 58);
/* oklch */ color: oklch(51.7% 0.169 21.5);
Tailwind
colors: {
  custom: {
    50: '#d37370',
    500: '#b5303a',
    950: '#000000',
  },
}
SCSS
$custom: #b5303a;
$custom-light: #d37370;
$custom-dark: #000000;
JSON
{
  "hex": "#b5303a",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 355.489,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.16897,
    "h": 21.5
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#B5303A
secondary
#7AC7C1
accent
#E1D646
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #B5303A

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

Preview Lab → · Contrast checker → · Palette generator →

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