#B02A1B#B02A1B

#B02A1B is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.173 H 30.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B02A1B
RGBrgb(176, 42, 27)
HSLhsl(6, 73%, 40%)
HSVhsv(6, 85%, 69%)
CMYKcmyk(0%, 76.1%, 84.7%, 31%)
CIE-LABlab(39.53, 52.67, 41.62)
CIE-LCHlch(39.53, 67.13, 38.32°)
OKLaboklab(49.89% 0.1491 0.0874)
OKLCHoklch(49.89% 0.173 30.4)
XYZxyz(18.9326, 10.9682, 2.1569)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A1B #1BA1B0
analogous
#B01B57 #B02A1B #B0741B
triadic
#B02A1B #1BB02A #2A1BB0
tetradic
#B02A1B #57B01B #1BA1B0 #741BB0
square
#B02A1B #57B01B #1BA1B0 #741BB0
split-complementary
#B02A1B #1BB074 #1B57B0
monochromatic
#46110B #7B1D13 #B02A1B #DE3C2A #E66D5F

Accessibility & contrast

On white

6.58
#B02A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B02A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A1B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A1B#FFFFFF#000000##FFFFFF
##B02A1B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02a1b;
/* rgb */ color: rgb(176, 42, 27);
/* oklch */ color: oklch(49.9% 0.173 30.4);
Tailwind
colors: {
  custom: {
    50: '#d16f5a',
    500: '#b02a1b',
    950: '#000000',
  },
}
SCSS
$custom: #b02a1b;
$custom-light: #d16f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a1b",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 27
  },
  "hsl": {
    "h": 6.04,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49891,
    "c": 0.1728,
    "h": 30.4
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#B02A1B
secondary
#5CC0CB
accent
#DEF038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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