#A7201F#A7201F

#A7201F is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.171 H 27.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A7201F
RGBrgb(167, 32, 31)
HSLhsl(0, 69%, 39%)
HSVhsv(0, 81%, 65%)
CMYKcmyk(0%, 80.8%, 81.4%, 34.5%)
CIE-LABlab(36.65, 53.12, 36.13)
CIE-LCHlch(36.65, 64.24, 34.22°)
OKLaboklab(47.44% 0.1522 0.0777)
OKLCHoklch(47.44% 0.171 27)
XYZxyz(16.7022, 9.3502, 2.2214)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7201F #1FA6A7
analogous
#A71F62 #A7201F #A7641F
triadic
#A7201F #1FA720 #201FA7
tetradic
#A7201F #62A71F #1FA6A7 #641FA7
square
#A7201F #62A71F #1FA6A7 #641FA7
split-complementary
#A7201F #1FA764 #1F62A7
monochromatic
#400C0C #731615 #A7201F #D82D2B #E1605F

Accessibility & contrast

On white

7.32
#A7201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A7201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7201F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7201F#FFFFFF#000000##FFFFFF
##A7201F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B441D
Deuteranopia (green-blind)
#6C6118
Tritanopia (blue-blind)
#B80022
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a7201f;
/* rgb */ color: rgb(167, 32, 31);
/* oklch */ color: oklch(47.4% 0.171 27.0);
Tailwind
colors: {
  custom: {
    50: '#cb695c',
    500: '#a7201f',
    950: '#000000',
  },
}
SCSS
$custom: #a7201f;
$custom-light: #cb695c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7201f",
  "rgb": {
    "r": 167,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 0.441,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.17091,
    "h": 27
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#A7201F
secondary
#5CC5C6
accent
#EAEC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7201F

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

Preview Lab → · Contrast checker → · Palette generator →

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