#B52E2A#B52E2A

#B52E2A is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.172 H 27.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B52E2A
RGBrgb(181, 46, 42)
HSLhsl(2, 62%, 44%)
HSVhsv(2, 77%, 71%)
CMYKcmyk(0%, 74.6%, 76.8%, 29%)
CIE-LABlab(41.13, 53.36, 35.41)
CIE-LCHlch(41.13, 64.04, 33.57°)
OKLaboklab(51.31% 0.1536 0.0784)
OKLCHoklch(51.31% 0.172 27)
XYZxyz(20.4534, 11.9481, 3.4193)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E2A #2AB1B5
analogous
#B52A6B #B52E2A #B5732A
triadic
#B52E2A #2AB52E #2E2AB5
tetradic
#B52E2A #6BB52A #2AB1B5 #732AB5
square
#B52E2A #6BB52A #2AB1B5 #732AB5
split-complementary
#B52E2A #2AB573 #2A6BB5
monochromatic
#521513 #83211E #B52E2A #D44C48 #E07C79

Accessibility & contrast

On white

6.20
#B52E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B52E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E2A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E2A#FFFFFF#000000##FFFFFF
##B52E2A1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E28
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#C7002F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b52e2a;
/* rgb */ color: rgb(181, 46, 42);
/* oklch */ color: oklch(51.3% 0.172 27.0);
Tailwind
colors: {
  custom: {
    50: '#d47164',
    500: '#b52e2a',
    950: '#000000',
  },
}
SCSS
$custom: #b52e2a;
$custom-light: #d47164;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e2a",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 1.727,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51309,
    "c": 0.17248,
    "h": 27
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

primary
#B52E2A
secondary
#73C6C8
accent
#E1E542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B52E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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