#A52A1F#A52A1F

#A52A1F is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.9% C 0.161 H 29.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A52A1F
RGBrgb(165, 42, 31)
HSLhsl(5, 68%, 38%)
HSVhsv(5, 81%, 65%)
CMYKcmyk(0%, 74.5%, 81.2%, 35.3%)
CIE-LABlab(37.40, 49.27, 36.74)
CIE-LCHlch(37.40, 61.46, 36.71°)
OKLaboklab(47.93% 0.1404 0.0793)
OKLCHoklch(47.93% 0.161 29.4)
XYZxyz(16.5943, 9.7568, 2.3055)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A1F #1F9AA5
analogous
#A51F57 #A52A1F #A56D1F
triadic
#A52A1F #1FA52A #2A1FA5
tetradic
#A52A1F #57A51F #1F9AA5 #6D1FA5
square
#A52A1F #57A51F #1F9AA5 #6D1FA5
split-complementary
#A52A1F #1FA56D #1F57A5
monochromatic
#3E100C #711D15 #A52A1F #D7382A #E1685E

Accessibility & contrast

On white

7.12
#A52A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A52A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52A1F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A1F#FFFFFF#000000##FFFFFF
##A52A1F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#B60029
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52a1f;
/* rgb */ color: rgb(165, 42, 31);
/* oklch */ color: oklch(47.9% 0.161 29.4);
Tailwind
colors: {
  custom: {
    50: '#c96d5c',
    500: '#a52a1f',
    950: '#000000',
  },
}
SCSS
$custom: #a52a1f;
$custom-light: #c96d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a1f",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 4.925,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.16121,
    "h": 29.4
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#A52A1F
secondary
#5BBCC5
accent
#DDEB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A52A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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