#BB2222#BB2222

#BB2222 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.4% C 0.188 H 27.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#BB2222
RGBrgb(187, 34, 34)
HSLhsl(0, 69%, 43%)
HSVhsv(0, 82%, 73%)
CMYKcmyk(0%, 81.8%, 81.8%, 26.7%)
CIE-LABlab(40.94, 58.54, 40.06)
CIE-LCHlch(40.94, 70.93, 34.38°)
OKLaboklab(51.35% 0.1676 0.0855)
OKLCHoklch(51.35% 0.188 27)
XYZxyz(21.3569, 11.8278, 2.6716)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2222 #22BBBB
analogous
#BB226E #BB2222 #BB6E22
triadic
#BB2222 #22BB22 #2222BB
tetradic
#BB2222 #6EBB22 #22BBBB #6E22BB
square
#BB2222 #6EBB22 #22BBBB #6E22BB
split-complementary
#BB2222 #22BB6E #226EBB
monochromatic
#530F0F #871919 #BB2222 #DC3E3E #E57272

Accessibility & contrast

On white

6.24
#BB2222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#BB2222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2222
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2222#FFFFFF#000000##FFFFFF
##BB22221.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B20
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#CE0025
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #bb2222;
/* rgb */ color: rgb(187, 34, 34);
/* oklch */ color: oklch(51.4% 0.188 27.0);
Tailwind
colors: {
  custom: {
    50: '#d96d5e',
    500: '#bb2222',
    950: '#000000',
  },
}
SCSS
$custom: #bb2222;
$custom-light: #d96d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2222",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.18812,
    "h": 27
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#BB2222
secondary
#6DCCCC
accent
#ECEC3C
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BB2222

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

Preview Lab → · Contrast checker → · Palette generator →

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