#B22535#B22535

#B22535 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.2% C 0.176 H 20.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B22535
RGBrgb(178, 37, 53)
HSLhsl(353, 66%, 42%)
HSVhsv(353, 79%, 70%)
CMYKcmyk(0%, 79.2%, 70.2%, 30.2%)
CIE-LABlab(39.66, 55.81, 27.00)
CIE-LCHlch(39.66, 62.00, 25.82°)
OKLaboklab(50.16% 0.1642 0.0626)
OKLCHoklch(50.16% 0.176 20.9)
XYZxyz(19.6665, 11.0482, 4.4645)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22535 #25B2A2
analogous
#B2257C #B22535 #B25B25
triadic
#B22535 #35B225 #2535B2
tetradic
#B22535 #7CB225 #25B2A2 #5B25B2
square
#B22535 #7CB225 #25B2A2 #5B25B2
split-complementary
#B22535 #25B25B #257CB2
monochromatic
#4D1017 #7F1A26 #B22535 #D73D4F #E1707D

Accessibility & contrast

On white

6.54
#B22535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22535
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22535#FFFFFF#000000##FFFFFF
##B225351.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A34
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22535;
/* rgb */ color: rgb(178, 37, 53);
/* oklch */ color: oklch(50.2% 0.176 20.9);
Tailwind
colors: {
  custom: {
    50: '#d16d6c',
    500: '#b22535',
    950: '#000000',
  },
}
SCSS
$custom: #b22535;
$custom-light: #d16d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b22535",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 53
  },
  "hsl": {
    "h": 353.191,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50157,
    "c": 0.17575,
    "h": 20.9
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#B22535
secondary
#6BC8BD
accent
#E9D53F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160807
muted
#847B7A

Preview Lab

Preview with #B22535

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

Preview Lab → · Contrast checker → · Palette generator →

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