#A1272E#A1272E

#A1272E is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.158 H 22.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A1272E
RGBrgb(161, 39, 46)
HSLhsl(357, 61%, 39%)
HSVhsv(357, 76%, 63%)
CMYKcmyk(0%, 75.8%, 71.4%, 36.9%)
CIE-LABlab(36.42, 49.66, 26.62)
CIE-LCHlch(36.42, 56.35, 28.19°)
OKLaboklab(47.11% 0.1454 0.0613)
OKLCHoklch(47.11% 0.158 22.9)
XYZxyz(15.9184, 9.2278, 3.5272)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1272E #27A19A
analogous
#A1276B #A1272E #A15D27
triadic
#A1272E #2EA127 #272EA1
tetradic
#A1272E #6BA127 #27A19A #5D27A1
square
#A1272E #6BA127 #27A19A #5D27A1
split-complementary
#A1272E #27A15D #276BA1
monochromatic
#3E0F12 #701B20 #A1272E #CE373F #DA686F

Accessibility & contrast

On white

7.38
#A1272E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A1272E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1272E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1272E#FFFFFF#000000##FFFFFF
##A1272E1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#695F2A
Tritanopia (blue-blind)
#B1002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1272e;
/* rgb */ color: rgb(161, 39, 46);
/* oklch */ color: oklch(47.1% 0.158 22.9);
Tailwind
colors: {
  custom: {
    50: '#c56b66',
    500: '#a1272e',
    950: '#000000',
  },
}
SCSS
$custom: #a1272e;
$custom-light: #c56b66;
$custom-dark: #000000;
JSON
{
  "hex": "#a1272e",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 356.557,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.15776,
    "h": 22.9
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#A1272E
secondary
#63C0BB
accent
#E4DB44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A1272E

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

Preview Lab → · Contrast checker → · Palette generator →

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