#A1272B#A1272B

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

Color values

HEX#A1272B
RGBrgb(161, 39, 43)
HSLhsl(358, 61%, 39%)
HSVhsv(358, 76%, 63%)
CMYKcmyk(0%, 75.8%, 73.3%, 36.9%)
CIE-LABlab(36.38, 49.52, 28.41)
CIE-LCHlch(36.38, 57.09, 29.85°)
OKLaboklab(47.07% 0.1442 0.0647)
OKLCHoklch(47.07% 0.158 24.2)
XYZxyz(15.8613, 9.2050, 3.2266)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1272B #27A19D
analogous
#A12768 #A1272B #A16027
triadic
#A1272B #2BA127 #272BA1
tetradic
#A1272B #68A127 #27A19D #6027A1
square
#A1272B #68A127 #27A19D #6027A1
split-complementary
#A1272B #27A160 #2768A1
monochromatic
#3E0F11 #701B1E #A1272B #CE373C #DA686C

Accessibility & contrast

On white

7.39
#A1272B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A1272B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1272B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1272B#FFFFFF#000000##FFFFFF
##A1272B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452A
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#B1002A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1272b;
/* rgb */ color: rgb(161, 39, 43);
/* oklch */ color: oklch(47.1% 0.158 24.2);
Tailwind
colors: {
  custom: {
    50: '#c56b64',
    500: '#a1272b',
    950: '#000000',
  },
}
SCSS
$custom: #a1272b;
$custom-light: #c56b64;
$custom-dark: #000000;
JSON
{
  "hex": "#a1272b",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 43
  },
  "hsl": {
    "h": 358.033,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.15807,
    "h": 24.2
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#A1272B
secondary
#63C0BD
accent
#E4DF44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #A1272B

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

Preview Lab → · Contrast checker → · Palette generator →

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