#B02221#B02221

#B02221 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 27.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B02221
RGBrgb(176, 34, 33)
HSLhsl(0, 68%, 41%)
HSVhsv(0, 81%, 69%)
CMYKcmyk(0%, 80.7%, 81.3%, 31%)
CIE-LABlab(38.70, 55.30, 37.66)
CIE-LCHlch(38.70, 66.90, 34.26°)
OKLaboklab(49.29% 0.1584 0.0809)
OKLCHoklch(49.29% 0.178 27.1)
XYZxyz(18.7534, 10.4870, 2.4753)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02221 #21AFB0
analogous
#B02167 #B02221 #B06921
triadic
#B02221 #21B022 #2221B0
tetradic
#B02221 #67B021 #21AFB0 #6921B0
square
#B02221 #67B021 #21AFB0 #6921B0
split-complementary
#B02221 #21B069 #2167B0
monochromatic
#490E0E #7C1817 #B02221 #D93635 #E36969

Accessibility & contrast

On white

6.78
#B02221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B02221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02221
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02221#FFFFFF#000000##FFFFFF
##B022211.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471F
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#C20024
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b02221;
/* rgb */ color: rgb(176, 34, 33);
/* oklch */ color: oklch(49.3% 0.178 27.1);
Tailwind
colors: {
  custom: {
    50: '#d16c5d',
    500: '#b02221',
    950: '#000000',
  },
}
SCSS
$custom: #b02221;
$custom-light: #d16c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b02221",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 33
  },
  "hsl": {
    "h": 0.42,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.17791,
    "h": 27.1
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#B02221
secondary
#64C8C8
accent
#EAEB3D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B02221

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

Preview Lab → · Contrast checker → · Palette generator →

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