#B02222#B02222

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

Color values

HEX#B02222
RGBrgb(176, 34, 34)
HSLhsl(0, 68%, 41%)
HSVhsv(0, 81%, 69%)
CMYKcmyk(0%, 80.7%, 80.7%, 31%)
CIE-LABlab(38.71, 55.33, 37.11)
CIE-LCHlch(38.71, 66.62, 33.85°)
OKLaboklab(49.31% 0.1587 0.0801)
OKLCHoklch(49.31% 0.178 26.8)
XYZxyz(18.7676, 10.4927, 2.5502)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02222 #22B0B0
analogous
#B02269 #B02222 #B06922
triadic
#B02222 #22B022 #2222B0
tetradic
#B02222 #69B022 #22B0B0 #6922B0
square
#B02222 #69B022 #22B0B0 #6922B0
split-complementary
#B02222 #22B069 #2269B0
monochromatic
#490E0E #7D1818 #B02222 #D83737 #E26A6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02222#FFFFFF#000000##FFFFFF
##B022221.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)
#504720
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#C20024
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b02222;
/* rgb */ color: rgb(176, 34, 34);
/* oklch */ color: oklch(49.3% 0.178 26.8);
Tailwind
colors: {
  custom: {
    50: '#d16c5e',
    500: '#b02222',
    950: '#000000',
  },
}
SCSS
$custom: #b02222;
$custom-light: #d16c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02222",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.17779,
    "h": 26.8
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#B02222
secondary
#66C8C8
accent
#EAEA3D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B02222

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

Preview Lab → · Contrast checker → · Palette generator →

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