#B52F31#B52F31

#B52F31 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.171 H 24.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B52F31
RGBrgb(181, 47, 49)
HSLhsl(359, 59%, 45%)
HSVhsv(359, 74%, 71%)
CMYKcmyk(0%, 74%, 72.9%, 29%)
CIE-LABlab(41.35, 53.30, 31.56)
CIE-LCHlch(41.35, 61.95, 30.63°)
OKLaboklab(51.5% 0.155 0.0717)
OKLCHoklch(51.5% 0.171 24.8)
XYZxyz(20.6293, 12.0817, 4.1509)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F31 #2FB5B3
analogous
#B52F74 #B52F31 #B5702F
triadic
#B52F31 #31B52F #2F31B5
tetradic
#B52F31 #74B52F #2FB5B3 #702FB5
square
#B52F31 #74B52F #2FB5B3 #702FB5
split-complementary
#B52F31 #2FB570 #2F74B5
monochromatic
#541617 #842224 #B52F31 #D15052 #DE8082

Accessibility & contrast

On white

6.15
#B52F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B52F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F31
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F31#FFFFFF#000000##FFFFFF
##B52F311.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F30
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#C70031
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b52f31;
/* rgb */ color: rgb(181, 47, 49);
/* oklch */ color: oklch(51.5% 0.171 24.8);
Tailwind
colors: {
  custom: {
    50: '#d47269',
    500: '#b52f31',
    950: '#000000',
  },
}
SCSS
$custom: #b52f31;
$custom-light: #d47269;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f31",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 359.104,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.17074,
    "h": 24.8
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#B52F31
secondary
#79C7C6
accent
#E2E046
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B52F31

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

Preview Lab → · Contrast checker → · Palette generator →

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