#B5302B#B5302B

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

Color values

HEX#B5302B
RGBrgb(181, 48, 43)
HSLhsl(2, 62%, 44%)
HSVhsv(2, 76%, 71%)
CMYKcmyk(0%, 73.5%, 76.2%, 29%)
CIE-LABlab(41.40, 52.70, 35.12)
CIE-LCHlch(41.40, 63.33, 33.68°)
OKLaboklab(51.51% 0.1518 0.0781)
OKLCHoklch(51.51% 0.171 27.2)
XYZxyz(20.5514, 12.1152, 3.5414)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5302B #2BB0B5
analogous
#B52B6B #B5302B #B5752B
triadic
#B5302B #2BB530 #302BB5
tetradic
#B5302B #6BB52B #2BB0B5 #752BB5
square
#B5302B #6BB52B #2BB0B5 #752BB5
split-complementary
#B5302B #2BB575 #2B6BB5
monochromatic
#521614 #84231F #B5302B #D44E49 #E07E7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5302B#FFFFFF#000000##FFFFFF
##B5302B1.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)
#584F29
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#C70030
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5302b;
/* rgb */ color: rgb(181, 48, 43);
/* oklch */ color: oklch(51.5% 0.171 27.2);
Tailwind
colors: {
  custom: {
    50: '#d47265',
    500: '#b5302b',
    950: '#000000',
  },
}
SCSS
$custom: #b5302b;
$custom-light: #d47265;
$custom-dark: #000000;
JSON
{
  "hex": "#b5302b",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 2.174,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.17065,
    "h": 27.2
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#B5302B
secondary
#74C5C8
accent
#DFE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B5302B

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

Preview Lab → · Contrast checker → · Palette generator →

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