#B02A21#B02A21

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

Color values

HEX#B02A21
RGBrgb(176, 42, 33)
HSLhsl(4, 68%, 41%)
HSVhsv(4, 81%, 69%)
CMYKcmyk(0%, 76.1%, 81.3%, 31%)
CIE-LABlab(39.58, 52.84, 38.52)
CIE-LCHlch(39.58, 65.39, 36.10°)
OKLaboklab(49.95% 0.1507 0.0828)
OKLCHoklch(49.95% 0.172 28.8)
XYZxyz(19.0093, 10.9989, 2.5606)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A21 #21A7B0
analogous
#B0215F #B02A21 #B07121
triadic
#B02A21 #21B02A #2A21B0
tetradic
#B02A21 #5FB021 #21A7B0 #7121B0
square
#B02A21 #5FB021 #21A7B0 #7121B0
split-complementary
#B02A21 #21B071 #215FB0
monochromatic
#49110E #7C1E17 #B02A21 #D93F35 #E37069

Accessibility & contrast

On white

6.56
#B02A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B02A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A21
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A21#FFFFFF#000000##FFFFFF
##B02A211.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B1E
Deuteranopia (green-blind)
#74681A
Tritanopia (blue-blind)
#C2002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02a21;
/* rgb */ color: rgb(176, 42, 33);
/* oklch */ color: oklch(49.9% 0.172 28.8);
Tailwind
colors: {
  custom: {
    50: '#d16f5e',
    500: '#b02a21',
    950: '#000000',
  },
}
SCSS
$custom: #b02a21;
$custom-light: #d16f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a21",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 33
  },
  "hsl": {
    "h": 3.776,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.17198,
    "h": 28.8
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#B02A21
secondary
#64C2C8
accent
#E0EB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02A21

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

Preview Lab → · Contrast checker → · Palette generator →

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