#A6271D#A6271D

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

Color values

HEX#A6271D
RGBrgb(166, 39, 29)
HSLhsl(4, 70%, 38%)
HSVhsv(4, 83%, 65%)
CMYKcmyk(0%, 76.5%, 82.5%, 34.9%)
CIE-LABlab(37.21, 50.57, 37.70)
CIE-LCHlch(37.21, 63.08, 36.71°)
OKLaboklab(47.81% 0.144 0.0806)
OKLCHoklch(47.81% 0.165 29.2)
XYZxyz(16.6752, 9.6494, 2.1467)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6271D #1D9CA6
analogous
#A61D57 #A6271D #A66C1D
triadic
#A6271D #1DA627 #271DA6
tetradic
#A6271D #57A61D #1D9CA6 #6C1DA6
square
#A6271D #57A61D #1D9CA6 #6C1DA6
split-complementary
#A6271D #1DA66C #1D57A6
monochromatic
#3E0F0B #721B14 #A6271D #D93427 #E2655B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6271D#FFFFFF#000000##FFFFFF
##A6271D1.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)
#4E461A
Deuteranopia (green-blind)
#6E6216
Tritanopia (blue-blind)
#B70026
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a6271d;
/* rgb */ color: rgb(166, 39, 29);
/* oklch */ color: oklch(47.8% 0.165 29.2);
Tailwind
colors: {
  custom: {
    50: '#ca6c5a',
    500: '#a6271d',
    950: '#000000',
  },
}
SCSS
$custom: #a6271d;
$custom-light: #ca6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6271d",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 4.38,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47812,
    "c": 0.16495,
    "h": 29.2
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#A6271D
secondary
#59BEC6
accent
#E0ED3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A6271D

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

Preview Lab → · Contrast checker → · Palette generator →

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