#B22525#B22525

#B22525 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.177 H 26.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B22525
RGBrgb(178, 37, 37)
HSLhsl(0, 66%, 42%)
HSVhsv(0, 79%, 70%)
CMYKcmyk(0%, 79.2%, 79.2%, 30.2%)
CIE-LABlab(39.45, 55.15, 36.30)
CIE-LCHlch(39.45, 66.03, 33.35°)
OKLaboklab(49.94% 0.1586 0.0791)
OKLCHoklch(49.94% 0.177 26.5)
XYZxyz(19.3579, 10.9248, 2.8393)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22525 #25B2B2
analogous
#B2256C #B22525 #B26C25
triadic
#B22525 #25B225 #2525B2
tetradic
#B22525 #6CB225 #25B2B2 #6C25B2
square
#B22525 #6CB225 #25B2B2 #6C25B2
split-complementary
#B22525 #25B26C #256CB2
monochromatic
#4D1010 #7F1A1A #B22525 #D73D3D #E17070

Accessibility & contrast

On white

6.59
#B22525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B22525 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22525
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22525#FFFFFF#000000##FFFFFF
##B225251.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524923
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#C40027
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22525;
/* rgb */ color: rgb(178, 37, 37);
/* oklch */ color: oklch(49.9% 0.177 26.5);
Tailwind
colors: {
  custom: {
    50: '#d26d60',
    500: '#b22525',
    950: '#000000',
  },
}
SCSS
$custom: #b22525;
$custom-light: #d26d60;
$custom-dark: #000000;
JSON
{
  "hex": "#b22525",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 37
  },
  "hsl": {
    "h": 0,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.17723,
    "h": 26.5
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#B22525
secondary
#6BC8C8
accent
#E9E93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #B22525

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

Preview Lab → · Contrast checker → · Palette generator →

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