#B22829#B22829

#B22829 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.174 H 25.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B22829
RGBrgb(178, 40, 41)
HSLhsl(360, 63%, 43%)
HSVhsv(360, 78%, 70%)
CMYKcmyk(0%, 77.5%, 77%, 30.2%)
CIE-LABlab(39.82, 54.38, 34.40)
CIE-LCHlch(39.82, 64.34, 32.31°)
OKLaboklab(50.23% 0.157 0.0762)
OKLCHoklch(50.23% 0.174 25.9)
XYZxyz(19.5214, 11.1457, 3.2209)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22829 #28B2B1
analogous
#B2286E #B22829 #B26C28
triadic
#B22829 #29B228 #2829B2
tetradic
#B22829 #6EB228 #28B2B1 #6C28B2
square
#B22829 #6EB228 #28B2B1 #6C28B2
split-complementary
#B22829 #28B26C #286EB2
monochromatic
#4E1212 #801D1D #B22829 #D54344 #E07575

Accessibility & contrast

On white

6.50
#B22829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B22829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22829
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22829#FFFFFF#000000##FFFFFF
##B228291.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22829;
/* rgb */ color: rgb(178, 40, 41);
/* oklch */ color: oklch(50.2% 0.174 25.9);
Tailwind
colors: {
  custom: {
    50: '#d26e63',
    500: '#b22829',
    950: '#000000',
  },
}
SCSS
$custom: #b22829;
$custom-light: #d26e63;
$custom-dark: #000000;
JSON
{
  "hex": "#b22829",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.565,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.17449,
    "h": 25.9
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#B22829
secondary
#6FC7C7
accent
#E6E541
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22829

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

Preview Lab → · Contrast checker → · Palette generator →

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