#B5302A#B5302A

#B5302A is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.171 H 27.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B5302A
RGBrgb(181, 48, 42)
HSLhsl(3, 62%, 44%)
HSVhsv(3, 77%, 71%)
CMYKcmyk(0%, 73.5%, 76.8%, 29%)
CIE-LABlab(41.39, 52.66, 35.68)
CIE-LCHlch(41.39, 63.61, 34.12°)
OKLaboklab(51.5% 0.1514 0.079)
OKLCHoklch(51.5% 0.171 27.6)
XYZxyz(20.5333, 12.1080, 3.4459)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5302A #2AAFB5
analogous
#B52A69 #B5302A #B5752A
triadic
#B5302A #2AB530 #302AB5
tetradic
#B5302A #69B52A #2AAFB5 #752AB5
square
#B5302A #69B52A #2AAFB5 #752AB5
split-complementary
#B5302A #2AB575 #2A69B5
monochromatic
#521613 #83231E #B5302A #D44E48 #E07E79

Accessibility & contrast

On white

6.14
#B5302A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B5302A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5302A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5302A#FFFFFF#000000##FFFFFF
##B5302A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F28
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#C70030
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5302a;
/* rgb */ color: rgb(181, 48, 42);
/* oklch */ color: oklch(51.5% 0.171 27.6);
Tailwind
colors: {
  custom: {
    50: '#d47264',
    500: '#b5302a',
    950: '#000000',
  },
}
SCSS
$custom: #b5302a;
$custom-light: #d47264;
$custom-dark: #000000;
JSON
{
  "hex": "#b5302a",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 2.59,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.17079,
    "h": 27.6
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#B5302A
secondary
#73C4C8
accent
#DEE542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B5302A

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

Preview Lab → · Contrast checker → · Palette generator →

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