#B22529#B22529

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

Color values

HEX#B22529
RGBrgb(178, 37, 41)
HSLhsl(358, 66%, 42%)
HSVhsv(358, 79%, 70%)
CMYKcmyk(0%, 79.2%, 77%, 30.2%)
CIE-LABlab(39.50, 55.30, 34.04)
CIE-LCHlch(39.50, 64.93, 31.62°)
OKLaboklab(49.98% 0.1599 0.0754)
OKLCHoklch(49.98% 0.177 25.2)
XYZxyz(19.4242, 10.9513, 3.1884)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22529 #25B2AE
analogous
#B22570 #B22529 #B26825
triadic
#B22529 #29B225 #2529B2
tetradic
#B22529 #70B225 #25B2AE #6825B2
square
#B22529 #70B225 #25B2AE #6825B2
split-complementary
#B22529 #25B268 #2570B2
monochromatic
#4D1012 #7F1A1D #B22529 #D73D42 #E17073

Accessibility & contrast

On white

6.58
#B22529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B22529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22529
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22529#FFFFFF#000000##FFFFFF
##B225291.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A27
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#C40028
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22529;
/* rgb */ color: rgb(178, 37, 41);
/* oklch */ color: oklch(50.0% 0.177 25.2);
Tailwind
colors: {
  custom: {
    50: '#d26d63',
    500: '#b22529',
    950: '#000000',
  },
}
SCSS
$custom: #b22529;
$custom-light: #d26d63;
$custom-dark: #000000;
JSON
{
  "hex": "#b22529",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 41
  },
  "hsl": {
    "h": 358.298,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.17678,
    "h": 25.2
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#B22529
secondary
#6BC8C5
accent
#E9E43F
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22529

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

Preview Lab → · Contrast checker → · Palette generator →

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