#B02226#B02226

#B02226 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.177 H 25.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B02226
RGBrgb(176, 34, 38)
HSLhsl(358, 68%, 41%)
HSVhsv(358, 81%, 69%)
CMYKcmyk(0%, 80.7%, 78.4%, 31%)
CIE-LABlab(38.75, 55.46, 34.87)
CIE-LCHlch(38.75, 65.51, 32.16°)
OKLaboklab(49.35% 0.16 0.0765)
OKLCHoklch(49.35% 0.177 25.5)
XYZxyz(18.8287, 10.5171, 2.8720)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02226 #22B0AC
analogous
#B0226D #B02226 #B06522
triadic
#B02226 #26B022 #2226B0
tetradic
#B02226 #6DB022 #22B0AC #6522B0
square
#B02226 #6DB022 #22B0AC #6522B0
split-complementary
#B02226 #22B065 #226DB0
monochromatic
#490E10 #7D181B #B02226 #D8373B #E26A6E

Accessibility & contrast

On white

6.77
#B02226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02226
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02226#FFFFFF#000000##FFFFFF
##B022261.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4824
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#C20026
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b02226;
/* rgb */ color: rgb(176, 34, 38);
/* oklch */ color: oklch(49.4% 0.177 25.5);
Tailwind
colors: {
  custom: {
    50: '#d16c61',
    500: '#b02226',
    950: '#000000',
  },
}
SCSS
$custom: #b02226;
$custom-light: #d16c61;
$custom-dark: #000000;
JSON
{
  "hex": "#b02226",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 358.31,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.17734,
    "h": 25.5
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#B02226
secondary
#66C8C5
accent
#EAE63D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79

Preview Lab

Preview with #B02226

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

Preview Lab → · Contrast checker → · Palette generator →

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