#BB402F#BB402F

#BB402F is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.162 H 30.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BB402F
RGBrgb(187, 64, 47)
HSLhsl(7, 60%, 46%)
HSVhsv(7, 75%, 73%)
CMYKcmyk(0%, 65.8%, 74.9%, 26.7%)
CIE-LABlab(44.86, 48.55, 36.96)
CIE-LCHlch(44.86, 61.02, 37.28°)
OKLaboklab(54.32% 0.1389 0.0827)
OKLCHoklch(54.32% 0.162 30.8)
XYZxyz(22.8425, 14.4401, 4.2732)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB402F #2FAABB
analogous
#BB2F64 #BB402F #BB862F
triadic
#BB402F #2FBB40 #402FBB
tetradic
#BB402F #64BB2F #2FAABB #862FBB
square
#BB402F #64BB2F #2FAABB #862FBB
split-complementary
#BB402F #2FBB86 #2F64BB
monochromatic
#591F16 #8A2F23 #BB402F #D46353 #E08F84

Accessibility & contrast

On white

5.40
#BB402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BB402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB402F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB402F#FFFFFF#000000##FFFFFF
##BB402F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592C
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#CE1E3D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb402f;
/* rgb */ color: rgb(187, 64, 47);
/* oklch */ color: oklch(54.3% 0.162 30.8);
Tailwind
colors: {
  custom: {
    50: '#d77b68',
    500: '#bb402f',
    950: '#000000',
  },
}
SCSS
$custom: #bb402f;
$custom-light: #d77b68;
$custom-dark: #000000;
JSON
{
  "hex": "#bb402f",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 7.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.1616,
    "h": 30.8
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#BB402F
secondary
#7CC0C9
accent
#D0E345
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BB402F

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

Preview Lab → · Contrast checker → · Palette generator →

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