#A52F1F#A52F1F

#A52F1F is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.4% C 0.157 H 31.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A52F1F
RGBrgb(165, 47, 31)
HSLhsl(7, 68%, 38%)
HSVhsv(7, 81%, 65%)
CMYKcmyk(0%, 71.5%, 81.2%, 35.3%)
CIE-LABlab(38.08, 47.40, 37.41)
CIE-LCHlch(38.08, 60.39, 38.29°)
OKLaboklab(48.44% 0.1345 0.0807)
OKLCHoklch(48.44% 0.157 31)
XYZxyz(16.7829, 10.1339, 2.3684)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F1F #1F95A5
analogous
#A51F52 #A52F1F #A5721F
triadic
#A52F1F #1FA52F #2F1FA5
tetradic
#A52F1F #52A51F #1F95A5 #721FA5
square
#A52F1F #52A51F #1F95A5 #721FA5
split-complementary
#A52F1F #1FA572 #1F52A5
monochromatic
#3E120C #712015 #A52F1F #D73F2A #E16D5E

Accessibility & contrast

On white

6.94
#A52F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A52F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F1F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F1F#FFFFFF#000000##FFFFFF
##A52F1F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#B6002C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a52f1f;
/* rgb */ color: rgb(165, 47, 31);
/* oklch */ color: oklch(48.4% 0.157 31.0);
Tailwind
colors: {
  custom: {
    50: '#c86f5c',
    500: '#a52f1f',
    950: '#000000',
  },
}
SCSS
$custom: #a52f1f;
$custom-light: #c86f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f1f",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 7.164,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.15689,
    "h": 31
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#A52F1F
secondary
#5BB8C5
accent
#D6EB3D
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A52F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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