#B1402F#B1402F

#B1402F is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.7% C 0.151 H 31.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B1402F
RGBrgb(177, 64, 47)
HSLhsl(8, 58%, 44%)
HSVhsv(8, 73%, 69%)
CMYKcmyk(0%, 63.8%, 73.4%, 30.6%)
CIE-LABlab(43.10, 45.03, 34.52)
CIE-LCHlch(43.10, 56.74, 37.47°)
OKLaboklab(52.66% 0.129 0.0779)
OKLCHoklch(52.66% 0.151 31.1)
XYZxyz(20.4801, 13.2220, 4.1625)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1402F #2FA0B1
analogous
#B12F5F #B1402F #B1812F
triadic
#B1402F #2FB140 #402FB1
tetradic
#B1402F #5FB12F #2FA0B1 #812FB1
square
#B1402F #5FB12F #2FA0B1 #812FB1
split-complementary
#B1402F #2FB181 #2F5FB1
monochromatic
#501D15 #812F22 #B1402F #D05E4D #DD8A7E

Accessibility & contrast

On white

5.76
#B1402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B1402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1402F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1402F#FFFFFF#000000##FFFFFF
##B1402F1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562D
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#C3243D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1402f;
/* rgb */ color: rgb(177, 64, 47);
/* oklch */ color: oklch(52.7% 0.151 31.1);
Tailwind
colors: {
  custom: {
    50: '#d07a68',
    500: '#b1402f',
    950: '#000000',
  },
}
SCSS
$custom: #b1402f;
$custom-light: #d07a68;
$custom-dark: #000000;
JSON
{
  "hex": "#b1402f",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 7.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.15073,
    "h": 31.1
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#B1402F
secondary
#76BBC5
accent
#CDE147
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #B1402F

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

Preview Lab → · Contrast checker → · Palette generator →

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