#B5302F#B5302F

#B5302F is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.170 H 25.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B5302F
RGBrgb(181, 48, 47)
HSLhsl(0, 59%, 45%)
HSVhsv(0, 74%, 71%)
CMYKcmyk(0%, 73.5%, 74%, 29%)
CIE-LABlab(41.45, 52.86, 32.86)
CIE-LCHlch(41.45, 62.24, 31.86°)
OKLaboklab(51.56% 0.1531 0.0741)
OKLCHoklch(51.56% 0.17 25.8)
XYZxyz(20.6285, 12.1461, 3.9470)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5302F #2FB4B5
analogous
#B52F71 #B5302F #B5732F
triadic
#B5302F #2FB530 #302FB5
tetradic
#B5302F #71B52F #2FB4B5 #732FB5
square
#B5302F #71B52F #2FB4B5 #732FB5
split-complementary
#B5302F #2FB573 #2F71B5
monochromatic
#541616 #842322 #B5302F #D15150 #DE8180

Accessibility & contrast

On white

6.12
#B5302F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B5302F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5302F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5302F#FFFFFF#000000##FFFFFF
##B5302F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2D
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#C70031
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5302f;
/* rgb */ color: rgb(181, 48, 47);
/* oklch */ color: oklch(51.6% 0.170 25.8);
Tailwind
colors: {
  custom: {
    50: '#d47268',
    500: '#b5302f',
    950: '#000000',
  },
}
SCSS
$custom: #b5302f;
$custom-light: #d47268;
$custom-dark: #000000;
JSON
{
  "hex": "#b5302f",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.448,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.1701,
    "h": 25.8
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#B5302F
secondary
#79C6C7
accent
#E1E246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B5302F

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

Preview Lab → · Contrast checker → · Palette generator →

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