#B52A2A#B52A2A

#B52A2A is a mid, vivid red. Relative luminance 0.116; OKLCH L 51.0% C 0.176 H 26.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B52A2A
RGBrgb(181, 42, 42)
HSLhsl(0, 62%, 44%)
HSVhsv(0, 77%, 71%)
CMYKcmyk(0%, 76.8%, 76.8%, 29%)
CIE-LABlab(40.65, 54.70, 34.89)
CIE-LCHlch(40.65, 64.88, 32.53°)
OKLaboklab(50.95% 0.1578 0.0773)
OKLCHoklch(50.95% 0.176 26.1)
XYZxyz(20.3043, 11.6501, 3.3696)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A2A #2AB5B5
analogous
#B52A6F #B52A2A #B56F2A
triadic
#B52A2A #2AB52A #2A2AB5
tetradic
#B52A2A #6FB52A #2AB5B5 #6F2AB5
square
#B52A2A #6FB52A #2AB5B5 #6F2AB5
split-complementary
#B52A2A #2AB56F #2A6FB5
monochromatic
#521313 #831E1E #B52A2A #D44848 #E07979

Accessibility & contrast

On white

6.31
#B52A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B52A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A2A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A2A#FFFFFF#000000##FFFFFF
##B52A2A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b52a2a;
/* rgb */ color: rgb(181, 42, 42);
/* oklch */ color: oklch(51.0% 0.176 26.1);
Tailwind
colors: {
  custom: {
    50: '#d47064',
    500: '#b52a2a',
    950: '#000000',
  },
}
SCSS
$custom: #b52a2a;
$custom-light: #d47064;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a2a",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.17574,
    "h": 26.1
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#B52A2A
secondary
#73C8C8
accent
#E5E542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B52A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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