#B5402A#B5402A

#B5402A is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.3% C 0.156 H 32.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B5402A
RGBrgb(181, 64, 42)
HSLhsl(9, 62%, 44%)
HSVhsv(9, 77%, 71%)
CMYKcmyk(0%, 64.6%, 76.8%, 29%)
CIE-LABlab(43.74, 46.24, 38.20)
CIE-LCHlch(43.74, 59.98, 39.56°)
OKLaboklab(53.26% 0.1314 0.0845)
OKLCHoklch(53.26% 0.156 32.7)
XYZxyz(21.3097, 13.6608, 3.7047)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5402A #2A9FB5
analogous
#B52A59 #B5402A #B5852A
triadic
#B5402A #2AB540 #402AB5
tetradic
#B5402A #59B52A #2A9FB5 #852AB5
square
#B5402A #59B52A #2A9FB5 #852AB5
split-complementary
#B5402A #2AB585 #2A59B5
monochromatic
#521D13 #832E1E #B5402A #D45E48 #E08A79

Accessibility & contrast

On white

5.63
#B5402A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B5402A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5402A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5402A#FFFFFF#000000##FFFFFF
##B5402A1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615727
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#C7213C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5402a;
/* rgb */ color: rgb(181, 64, 42);
/* oklch */ color: oklch(53.3% 0.156 32.7);
Tailwind
colors: {
  custom: {
    50: '#d37a65',
    500: '#b5402a',
    950: '#000000',
  },
}
SCSS
$custom: #b5402a;
$custom-light: #d37a65;
$custom-dark: #000000;
JSON
{
  "hex": "#b5402a",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 9.496,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.15616,
    "h": 32.7
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#B5402A
secondary
#73BBC8
accent
#CCE542
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #B5402A

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

Preview Lab → · Contrast checker → · Palette generator →

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