#B52A2F#B52A2F

#B52A2F is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.175 H 24.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B52A2F
RGBrgb(181, 42, 47)
HSLhsl(358, 62%, 44%)
HSVhsv(358, 77%, 71%)
CMYKcmyk(0%, 76.8%, 74%, 29%)
CIE-LABlab(40.72, 54.90, 32.02)
CIE-LCHlch(40.72, 63.55, 30.26°)
OKLaboklab(51.02% 0.1596 0.0723)
OKLCHoklch(51.02% 0.175 24.4)
XYZxyz(20.3995, 11.6881, 3.8707)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A2F #2AB5B0
analogous
#B52A74 #B52A2F #B56A2A
triadic
#B52A2F #2FB52A #2A2FB5
tetradic
#B52A2F #74B52A #2AB5B0 #6A2AB5
square
#B52A2F #74B52A #2AB5B0 #6A2AB5
split-complementary
#B52A2F #2AB56A #2A74B5
monochromatic
#521315 #831E22 #B52A2F #D4484D #E0797D

Accessibility & contrast

On white

6.29
#B52A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B52A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A2F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A2F#FFFFFF#000000##FFFFFF
##B52A2F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2E
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C7002E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b52a2f;
/* rgb */ color: rgb(181, 42, 47);
/* oklch */ color: oklch(51.0% 0.175 24.4);
Tailwind
colors: {
  custom: {
    50: '#d47068',
    500: '#b52a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b52a2f;
$custom-light: #d47068;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a2f",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 357.842,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.17518,
    "h": 24.4
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#B52A2F
secondary
#73C8C5
accent
#E5E042
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B52A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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