#A52917#A52917

#A52917 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.163 H 31.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A52917
RGBrgb(165, 41, 23)
HSLhsl(8, 76%, 37%)
HSVhsv(8, 86%, 65%)
CMYKcmyk(0%, 75.2%, 86.1%, 35.3%)
CIE-LABlab(37.21, 49.40, 40.73)
CIE-LCHlch(37.21, 64.02, 39.51°)
OKLaboklab(47.76% 0.1393 0.085)
OKLCHoklch(47.76% 0.163 31.4)
XYZxyz(16.4667, 9.6497, 1.8060)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52917 #1793A5
analogous
#A5174C #A52917 #A57017
triadic
#A52917 #17A529 #2917A5
tetradic
#A52917 #4CA517 #1793A5 #7017A5
square
#A52917 #4CA517 #1793A5 #7017A5
split-complementary
#A52917 #17A570 #174CA5
monochromatic
#3A0E08 #6F1C10 #A52917 #DB361E #E76350

Accessibility & contrast

On white

7.17
#A52917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A52917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52917
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52917#FFFFFF#000000##FFFFFF
##A529171.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#6E610F
Tritanopia (blue-blind)
#B60026
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52917;
/* rgb */ color: rgb(165, 41, 23);
/* oklch */ color: oklch(47.8% 0.163 31.4);
Tailwind
colors: {
  custom: {
    50: '#c96d57',
    500: '#a52917',
    950: '#000000',
  },
}
SCSS
$custom: #a52917;
$custom-light: #c96d57;
$custom-dark: #000000;
JSON
{
  "hex": "#a52917",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 7.606,
    "s": 75.532,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.16319,
    "h": 31.4
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#A52917
secondary
#4FB9C9
accent
#DAF236
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A52917

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

Preview Lab → · Contrast checker → · Palette generator →

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