#B22F27#B22F27

#B22F27 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.169 H 28.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B22F27
RGBrgb(178, 47, 39)
HSLhsl(3, 64%, 43%)
HSVhsv(3, 78%, 70%)
CMYKcmyk(0%, 73.6%, 78.1%, 30.2%)
CIE-LABlab(40.65, 51.94, 36.42)
CIE-LCHlch(40.65, 63.44, 35.04°)
OKLaboklab(50.83% 0.1489 0.08)
OKLCHoklch(50.83% 0.169 28.2)
XYZxyz(19.7451, 11.6476, 3.1276)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F27 #27AAB2
analogous
#B22765 #B22F27 #B27427
triadic
#B22F27 #27B22F #2F27B2
tetradic
#B22F27 #65B227 #27AAB2 #7427B2
square
#B22F27 #65B227 #27AAB2 #7427B2
split-complementary
#B22F27 #27B274 #2765B2
monochromatic
#4E1411 #80221C #B22F27 #D54941 #E07973

Accessibility & contrast

On white

6.31
#B22F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22F27
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F27#FFFFFF#000000##FFFFFF
##B22F271.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E25
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22f27;
/* rgb */ color: rgb(178, 47, 39);
/* oklch */ color: oklch(50.8% 0.169 28.2);
Tailwind
colors: {
  custom: {
    50: '#d27162',
    500: '#b22f27',
    950: '#000000',
  },
}
SCSS
$custom: #b22f27;
$custom-light: #d27162;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f27",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 3.453,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50834,
    "c": 0.16903,
    "h": 28.2
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#B22F27
secondary
#6DC2C8
accent
#DDE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22F27

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

Preview Lab → · Contrast checker → · Palette generator →

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