#B02B21#B02B21

#B02B21 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.171 H 29.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B02B21
RGBrgb(176, 43, 33)
HSLhsl(4, 68%, 41%)
HSVhsv(4, 81%, 69%)
CMYKcmyk(0%, 75.6%, 81.3%, 31%)
CIE-LABlab(39.70, 52.50, 38.64)
CIE-LCHlch(39.70, 65.19, 36.35°)
OKLaboklab(50.04% 0.1497 0.0831)
OKLCHoklch(50.04% 0.171 29)
XYZxyz(19.0452, 11.0707, 2.5726)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B21 #21A6B0
analogous
#B0215E #B02B21 #B07221
triadic
#B02B21 #21B02B #2B21B0
tetradic
#B02B21 #5EB021 #21A6B0 #7221B0
square
#B02B21 #5EB021 #21A6B0 #7221B0
split-complementary
#B02B21 #21B072 #215EB0
monochromatic
#49120E #7C1E17 #B02B21 #D94135 #E37169

Accessibility & contrast

On white

6.53
#B02B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02B21
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B21#FFFFFF#000000##FFFFFF
##B02B211.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02b21;
/* rgb */ color: rgb(176, 43, 33);
/* oklch */ color: oklch(50.0% 0.171 29.0);
Tailwind
colors: {
  custom: {
    50: '#d16f5e',
    500: '#b02b21',
    950: '#000000',
  },
}
SCSS
$custom: #b02b21;
$custom-light: #d16f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b21",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 33
  },
  "hsl": {
    "h": 4.196,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.17119,
    "h": 29
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#B02B21
secondary
#64C1C8
accent
#DFEB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02B21

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

Preview Lab → · Contrast checker → · Palette generator →

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