#B02821#B02821

#B02821 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.174 H 28.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B02821
RGBrgb(176, 40, 33)
HSLhsl(3, 68%, 41%)
HSVhsv(3, 81%, 69%)
CMYKcmyk(0%, 77.3%, 81.3%, 31%)
CIE-LABlab(39.34, 53.49, 38.29)
CIE-LCHlch(39.34, 65.79, 35.60°)
OKLaboklab(49.77% 0.1528 0.0823)
OKLCHoklch(49.77% 0.174 28.3)
XYZxyz(18.9401, 10.8605, 2.5376)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02821 #21A9B0
analogous
#B02161 #B02821 #B06F21
triadic
#B02821 #21B028 #2821B0
tetradic
#B02821 #61B021 #21A9B0 #6F21B0
square
#B02821 #61B021 #21A9B0 #6F21B0
split-complementary
#B02821 #21B06F #2161B0
monochromatic
#49110E #7C1C17 #B02821 #D93D35 #E36F69

Accessibility & contrast

On white

6.62
#B02821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B02821 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02821
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02821#FFFFFF#000000##FFFFFF
##B028211.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A1E
Deuteranopia (green-blind)
#74671A
Tritanopia (blue-blind)
#C20028
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02821;
/* rgb */ color: rgb(176, 40, 33);
/* oklch */ color: oklch(49.8% 0.174 28.3);
Tailwind
colors: {
  custom: {
    50: '#d16e5e',
    500: '#b02821',
    950: '#000000',
  },
}
SCSS
$custom: #b02821;
$custom-light: #d16e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02821",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 2.937,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49771,
    "c": 0.17354,
    "h": 28.3
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#B02821
secondary
#64C4C8
accent
#E3EB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02821

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

Preview Lab → · Contrast checker → · Palette generator →

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