#B22B27#B22B27

#B22B27 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 27.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B22B27
RGBrgb(178, 43, 39)
HSLhsl(2, 64%, 43%)
HSVhsv(2, 78%, 70%)
CMYKcmyk(0%, 75.8%, 78.1%, 30.2%)
CIE-LABlab(40.15, 53.33, 35.90)
CIE-LCHlch(40.15, 64.29, 33.94°)
OKLaboklab(50.46% 0.1533 0.0788)
OKLCHoklch(50.46% 0.172 27.2)
XYZxyz(19.5925, 11.3423, 3.0767)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B27 #27AEB2
analogous
#B22768 #B22B27 #B27127
triadic
#B22B27 #27B22B #2B27B2
tetradic
#B22B27 #68B227 #27AEB2 #7127B2
square
#B22B27 #68B227 #27AEB2 #7127B2
split-complementary
#B22B27 #27B271 #2768B2
monochromatic
#4E1311 #801F1C #B22B27 #D54541 #E07673

Accessibility & contrast

On white

6.43
#B22B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B22B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B27
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B27#FFFFFF#000000##FFFFFF
##B22B271.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C25
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#C4002C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22b27;
/* rgb */ color: rgb(178, 43, 39);
/* oklch */ color: oklch(50.5% 0.172 27.2);
Tailwind
colors: {
  custom: {
    50: '#d27062',
    500: '#b22b27',
    950: '#000000',
  },
}
SCSS
$custom: #b22b27;
$custom-light: #d27062;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b27",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 39
  },
  "hsl": {
    "h": 1.727,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.17235,
    "h": 27.2
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#B22B27
secondary
#6DC5C8
accent
#E2E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22B27

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

Preview Lab → · Contrast checker → · Palette generator →

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