#B22527#B22527

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

Color values

HEX#B22527
RGBrgb(178, 37, 39)
HSLhsl(359, 66%, 42%)
HSVhsv(359, 79%, 70%)
CMYKcmyk(0%, 79.2%, 78.1%, 30.2%)
CIE-LABlab(39.48, 55.22, 35.18)
CIE-LCHlch(39.48, 65.48, 32.50°)
OKLaboklab(49.96% 0.1592 0.0773)
OKLCHoklch(49.96% 0.177 25.9)
XYZxyz(19.3902, 10.9377, 3.0093)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22527 #25B2B0
analogous
#B2256E #B22527 #B26A25
triadic
#B22527 #27B225 #2527B2
tetradic
#B22527 #6EB225 #25B2B0 #6A25B2
square
#B22527 #6EB225 #25B2B0 #6A25B2
split-complementary
#B22527 #25B26A #256EB2
monochromatic
#4D1011 #7F1A1C #B22527 #D73D40 #E17072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22527#FFFFFF#000000##FFFFFF
##B225271.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#C40028
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22527;
/* rgb */ color: rgb(178, 37, 39);
/* oklch */ color: oklch(50.0% 0.177 25.9);
Tailwind
colors: {
  custom: {
    50: '#d26d62',
    500: '#b22527',
    950: '#000000',
  },
}
SCSS
$custom: #b22527;
$custom-light: #d26d62;
$custom-dark: #000000;
JSON
{
  "hex": "#b22527",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 39
  },
  "hsl": {
    "h": 359.149,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.17699,
    "h": 25.9
  },
  "luminance": 0.10935
}

Semantic roles & 50–950 ramp

primary
#B22527
secondary
#6BC8C7
accent
#E9E63F
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22527

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

Preview Lab → · Contrast checker → · Palette generator →

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