#B22728#B22728

#B22728 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.175 H 26.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B22728
RGBrgb(178, 39, 40)
HSLhsl(360, 64%, 43%)
HSVhsv(360, 78%, 70%)
CMYKcmyk(0%, 78.1%, 77.5%, 30.2%)
CIE-LABlab(39.70, 54.65, 34.84)
CIE-LCHlch(39.70, 64.82, 32.52°)
OKLaboklab(50.13% 0.1577 0.0768)
OKLCHoklch(50.13% 0.175 26)
XYZxyz(19.4709, 11.0723, 3.1190)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22728 #27B2B1
analogous
#B2276E #B22728 #B26B27
triadic
#B22728 #28B227 #2728B2
tetradic
#B22728 #6EB227 #27B2B1 #6B27B2
square
#B22728 #6EB227 #27B2B1 #6B27B2
split-complementary
#B22728 #27B26B #276EB2
monochromatic
#4E1111 #801C1D #B22728 #D54142 #E07374

Accessibility & contrast

On white

6.53
#B22728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B22728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22728
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22728#FFFFFF#000000##FFFFFF
##B227281.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#C40029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22728;
/* rgb */ color: rgb(178, 39, 40);
/* oklch */ color: oklch(50.1% 0.175 26.0);
Tailwind
colors: {
  custom: {
    50: '#d26e62',
    500: '#b22728',
    950: '#000000',
  },
}
SCSS
$custom: #b22728;
$custom-light: #d26e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b22728",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.568,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.17538,
    "h": 26
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#B22728
secondary
#6DC8C7
accent
#E7E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22728

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

Preview Lab → · Contrast checker → · Palette generator →

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