#B02B1B#B02B1B

#B02B1B is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.172 H 30.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B02B1B
RGBrgb(176, 43, 27)
HSLhsl(6, 73%, 40%)
HSVhsv(6, 85%, 69%)
CMYKcmyk(0%, 75.6%, 84.7%, 31%)
CIE-LABlab(39.65, 52.33, 41.73)
CIE-LCHlch(39.65, 66.93, 38.57°)
OKLaboklab(49.98% 0.148 0.0877)
OKLCHoklch(49.98% 0.172 30.6)
XYZxyz(18.9685, 11.0400, 2.1689)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B1B #1BA0B0
analogous
#B01B56 #B02B1B #B0761B
triadic
#B02B1B #1BB02B #2B1BB0
tetradic
#B02B1B #56B01B #1BA0B0 #761BB0
square
#B02B1B #56B01B #1BA0B0 #761BB0
split-complementary
#B02B1B #1BB076 #1B56B0
monochromatic
#46110B #7B1E13 #B02B1B #DE3D2A #E66E5F

Accessibility & contrast

On white

6.55
#B02B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B02B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B1B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B1B#FFFFFF#000000##FFFFFF
##B02B1B1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B17
Deuteranopia (green-blind)
#756813
Tritanopia (blue-blind)
#C20029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02b1b;
/* rgb */ color: rgb(176, 43, 27);
/* oklch */ color: oklch(50.0% 0.172 30.6);
Tailwind
colors: {
  custom: {
    50: '#d16f5a',
    500: '#b02b1b',
    950: '#000000',
  },
}
SCSS
$custom: #b02b1b;
$custom-light: #d16f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b1b",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 27
  },
  "hsl": {
    "h": 6.443,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.17202,
    "h": 30.6
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#B02B1B
secondary
#5CBFCB
accent
#DCF038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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