#B52A3A#B52A3A

#B52A3A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.174 H 20.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B52A3A
RGBrgb(181, 42, 58)
HSLhsl(353, 62%, 44%)
HSVhsv(353, 77%, 71%)
CMYKcmyk(0%, 76.8%, 68%, 29%)
CIE-LABlab(40.88, 55.42, 25.55)
CIE-LCHlch(40.88, 61.03, 24.75°)
OKLaboklab(51.19% 0.1637 0.06)
OKLCHoklch(51.19% 0.174 20.1)
XYZxyz(20.6500, 11.7883, 5.1902)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A3A #2AB5A5
analogous
#B52A7F #B52A3A #B55F2A
triadic
#B52A3A #3AB52A #2A3AB5
tetradic
#B52A3A #7FB52A #2AB5A5 #5F2AB5
square
#B52A3A #7FB52A #2AB5A5 #5F2AB5
split-complementary
#B52A3A #2AB55F #2A7FB5
monochromatic
#52131A #831E2A #B52A3A #D44858 #E07985

Accessibility & contrast

On white

6.26
#B52A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B52A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A3A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A3A#FFFFFF#000000##FFFFFF
##B52A3A1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E39
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#C70031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b52a3a;
/* rgb */ color: rgb(181, 42, 58);
/* oklch */ color: oklch(51.2% 0.174 20.1);
Tailwind
colors: {
  custom: {
    50: '#d37070',
    500: '#b52a3a',
    950: '#000000',
  },
}
SCSS
$custom: #b52a3a;
$custom-light: #d37070;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a3a",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 353.094,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.1743,
    "h": 20.1
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#B52A3A
secondary
#73C8BE
accent
#E5D342
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160807
muted
#847B7A

Preview Lab

Preview with #B52A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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