#A0271F#A0271F

#A0271F is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.159 H 28.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A0271F
RGBrgb(160, 39, 31)
HSLhsl(4, 68%, 37%)
HSVhsv(4, 81%, 63%)
CMYKcmyk(0%, 75.6%, 80.6%, 37.3%)
CIE-LABlab(36.03, 48.72, 35.05)
CIE-LCHlch(36.03, 60.02, 35.73°)
OKLaboklab(46.73% 0.1392 0.076)
OKLCHoklch(46.73% 0.159 28.6)
XYZxyz(15.4719, 9.0260, 2.2236)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0271F #1F98A0
analogous
#A01F57 #A0271F #A0681F
triadic
#A0271F #1FA027 #271FA0
tetradic
#A0271F #57A01F #1F98A0 #681FA0
square
#A0271F #57A01F #1F98A0 #681FA0
split-complementary
#A0271F #1FA068 #1F57A0
monochromatic
#390E0B #6D1B15 #A0271F #D33329 #DF635A

Accessibility & contrast

On white

7.49
#A0271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A0271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0271F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0271F#FFFFFF#000000##FFFFFF
##A0271F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441D
Deuteranopia (green-blind)
#6A5E19
Tritanopia (blue-blind)
#B10027
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a0271f;
/* rgb */ color: rgb(160, 39, 31);
/* oklch */ color: oklch(46.7% 0.159 28.6);
Tailwind
colors: {
  custom: {
    50: '#c56b5c',
    500: '#a0271f',
    950: '#000000',
  },
}
SCSS
$custom: #a0271f;
$custom-light: #c56b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a0271f",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 3.721,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.15861,
    "h": 28.6
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#A0271F
secondary
#58BCC3
accent
#E0EA3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A0271F

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

Preview Lab → · Contrast checker → · Palette generator →

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