#A7272A#A7272A

#A7272A is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.1% C 0.164 H 24.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A7272A
RGBrgb(167, 39, 42)
HSLhsl(359, 62%, 40%)
HSVhsv(359, 77%, 65%)
CMYKcmyk(0%, 76.6%, 74.9%, 34.5%)
CIE-LABlab(37.55, 51.36, 30.67)
CIE-LCHlch(37.55, 59.82, 30.85°)
OKLaboklab(48.15% 0.149 0.0691)
OKLCHoklch(48.15% 0.164 24.9)
XYZxyz(17.0818, 9.8364, 3.1892)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7272A #27A7A4
analogous
#A7276A #A7272A #A76427
triadic
#A7272A #2AA727 #272AA7
tetradic
#A7272A #6AA727 #27A7A4 #6427A7
square
#A7272A #6AA727 #27A7A4 #6427A7
split-complementary
#A7272A #27A764 #276AA7
monochromatic
#441011 #751B1E #A7272A #D13A3E #DD6C6E

Accessibility & contrast

On white

7.08
#A7272A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A7272A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7272A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7272A#FFFFFF#000000##FFFFFF
##A7272A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4729
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#B8002A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7272a;
/* rgb */ color: rgb(167, 39, 42);
/* oklch */ color: oklch(48.1% 0.164 24.9);
Tailwind
colors: {
  custom: {
    50: '#ca6c64',
    500: '#a7272a',
    950: '#000000',
  },
}
SCSS
$custom: #a7272a;
$custom-light: #ca6c64;
$custom-dark: #000000;
JSON
{
  "hex": "#a7272a",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 42
  },
  "hsl": {
    "h": 358.594,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48147,
    "c": 0.16427,
    "h": 24.9
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#A7272A
secondary
#67C3C1
accent
#E5E143
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150805
muted
#837B79

Preview Lab

Preview with #A7272A

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

Preview Lab → · Contrast checker → · Palette generator →

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