#B22F2A#B22F2A

#B22F2A is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.169 H 27.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B22F2A
RGBrgb(178, 47, 42)
HSLhsl(2, 62%, 43%)
HSVhsv(2, 76%, 70%)
CMYKcmyk(0%, 73.6%, 76.4%, 30.2%)
CIE-LABlab(40.68, 52.06, 34.75)
CIE-LCHlch(40.68, 62.59, 33.73°)
OKLaboklab(50.87% 0.1499 0.0772)
OKLCHoklch(50.87% 0.169 27.2)
XYZxyz(19.7968, 11.6682, 3.3998)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F2A #2AADB2
analogous
#B22A69 #B22F2A #B2732A
triadic
#B22F2A #2AB22F #2F2AB2
tetradic
#B22F2A #69B22A #2AADB2 #732AB2
square
#B22F2A #69B22A #2AADB2 #732AB2
split-complementary
#B22F2A #2AB273 #2A69B2
monochromatic
#4F1513 #80221E #B22F2A #D34B46 #DF7B77

Accessibility & contrast

On white

6.30
#B22F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B22F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F2A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F2A#FFFFFF#000000##FFFFFF
##B22F2A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E28
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22f2a;
/* rgb */ color: rgb(178, 47, 42);
/* oklch */ color: oklch(50.9% 0.169 27.2);
Tailwind
colors: {
  custom: {
    50: '#d27164',
    500: '#b22f2a',
    950: '#000000',
  },
}
SCSS
$custom: #b22f2a;
$custom-light: #d27164;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f2a",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 2.206,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.1686,
    "h": 27.2
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#B22F2A
secondary
#71C4C7
accent
#DFE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B22F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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