#B5402F#B5402F

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

Color values

HEX#B5402F
RGBrgb(181, 64, 47)
HSLhsl(8, 59%, 45%)
HSVhsv(8, 74%, 71%)
CMYKcmyk(0%, 64.6%, 74%, 29%)
CIE-LABlab(43.80, 46.45, 35.49)
CIE-LCHlch(43.80, 58.46, 37.38°)
OKLaboklab(53.32% 0.133 0.0798)
OKLCHoklch(53.32% 0.155 31)
XYZxyz(21.4048, 13.6988, 4.2058)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5402F #2FA4B5
analogous
#B52F61 #B5402F #B5832F
triadic
#B5402F #2FB540 #402FB5
tetradic
#B5402F #61B52F #2FA4B5 #832FB5
square
#B5402F #61B52F #2FA4B5 #832FB5
split-complementary
#B5402F #2FB583 #2F61B5
monochromatic
#541E16 #842F22 #B5402F #D16050 #DE8C80

Accessibility & contrast

On white

5.62
#B5402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B5402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5402F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5402F#FFFFFF#000000##FFFFFF
##B5402F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61572C
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#C7223D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5402f;
/* rgb */ color: rgb(181, 64, 47);
/* oklch */ color: oklch(53.3% 0.155 31.0);
Tailwind
colors: {
  custom: {
    50: '#d37a68',
    500: '#b5402f',
    950: '#000000',
  },
}
SCSS
$custom: #b5402f;
$custom-light: #d37a68;
$custom-dark: #000000;
JSON
{
  "hex": "#b5402f",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 7.612,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.15512,
    "h": 31
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#B5402F
secondary
#79BDC7
accent
#CEE246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #B5402F

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

Preview Lab → · Contrast checker → · Palette generator →

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