#B02521#B02521

#B02521 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.176 H 27.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B02521
RGBrgb(176, 37, 33)
HSLhsl(2, 68%, 41%)
HSVhsv(2, 81%, 69%)
CMYKcmyk(0%, 79%, 81.3%, 31%)
CIE-LABlab(39.01, 54.42, 37.96)
CIE-LCHlch(39.01, 66.36, 34.90°)
OKLaboklab(49.52% 0.1557 0.0816)
OKLCHoklch(49.52% 0.176 27.7)
XYZxyz(18.8429, 10.6661, 2.5052)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02521 #21ACB0
analogous
#B02164 #B02521 #B06C21
triadic
#B02521 #21B025 #2521B0
tetradic
#B02521 #64B021 #21ACB0 #6C21B0
square
#B02521 #64B021 #21ACB0 #6C21B0
split-complementary
#B02521 #21B06C #2164B0
monochromatic
#490F0E #7C1A17 #B02521 #D93A35 #E36C69

Accessibility & contrast

On white

6.70
#B02521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B02521 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02521
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02521#FFFFFF#000000##FFFFFF
##B025211.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51491F
Deuteranopia (green-blind)
#73671A
Tritanopia (blue-blind)
#C20026
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02521;
/* rgb */ color: rgb(176, 37, 33);
/* oklch */ color: oklch(49.5% 0.176 27.7);
Tailwind
colors: {
  custom: {
    50: '#d16d5d',
    500: '#b02521',
    950: '#000000',
  },
}
SCSS
$custom: #b02521;
$custom-light: #d16d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b02521",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 33
  },
  "hsl": {
    "h": 1.678,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.17578,
    "h": 27.7
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#B02521
secondary
#64C6C8
accent
#E6EB3D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B02521

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

Preview Lab → · Contrast checker → · Palette generator →

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