#B22927#B22927

#B22927 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.174 H 26.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B22927
RGBrgb(178, 41, 39)
HSLhsl(1, 64%, 43%)
HSVhsv(1, 78%, 70%)
CMYKcmyk(0%, 77%, 78.1%, 30.2%)
CIE-LABlab(39.92, 53.99, 35.65)
CIE-LCHlch(39.92, 64.69, 33.44°)
OKLaboklab(50.29% 0.1553 0.0783)
OKLCHoklch(50.29% 0.174 26.8)
XYZxyz(19.5216, 11.2004, 3.0531)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22927 #27B0B2
analogous
#B2276B #B22927 #B26E27
triadic
#B22927 #27B229 #2927B2
tetradic
#B22927 #6BB227 #27B0B2 #6E27B2
square
#B22927 #6BB227 #27B0B2 #6E27B2
split-complementary
#B22927 #27B26E #276BB2
monochromatic
#4E1211 #801D1C #B22927 #D54341 #E07573

Accessibility & contrast

On white

6.48
#B22927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B22927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22927
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22927#FFFFFF#000000##FFFFFF
##B229271.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#C4002A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22927;
/* rgb */ color: rgb(178, 41, 39);
/* oklch */ color: oklch(50.3% 0.174 26.8);
Tailwind
colors: {
  custom: {
    50: '#d26f62',
    500: '#b22927',
    950: '#000000',
  },
}
SCSS
$custom: #b22927;
$custom-light: #d26f62;
$custom-dark: #000000;
JSON
{
  "hex": "#b22927",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 39
  },
  "hsl": {
    "h": 0.863,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.17395,
    "h": 26.8
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#B22927
secondary
#6DC6C8
accent
#E5E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22927

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

Preview Lab → · Contrast checker → · Palette generator →

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