#A1272D#A1272D

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

Color values

HEX#A1272D
RGBrgb(161, 39, 45)
HSLhsl(357, 61%, 39%)
HSVhsv(357, 76%, 63%)
CMYKcmyk(0%, 75.8%, 72%, 36.9%)
CIE-LABlab(36.40, 49.61, 27.22)
CIE-LCHlch(36.40, 56.59, 28.75°)
OKLaboklab(47.1% 0.145 0.0625)
OKLCHoklch(47.1% 0.158 23.3)
XYZxyz(15.8989, 9.2200, 3.4246)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1272D #27A19B
analogous
#A1276A #A1272D #A15E27
triadic
#A1272D #2DA127 #272DA1
tetradic
#A1272D #6AA127 #27A19B #5E27A1
square
#A1272D #6AA127 #27A19B #5E27A1
split-complementary
#A1272D #27A15E #276AA1
monochromatic
#3E0F11 #701B1F #A1272D #CE373E #DA686E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1272D#FFFFFF#000000##FFFFFF
##A1272D1.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)
#4B452C
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#B1002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1272d;
/* rgb */ color: rgb(161, 39, 45);
/* oklch */ color: oklch(47.1% 0.158 23.3);
Tailwind
colors: {
  custom: {
    50: '#c56b66',
    500: '#a1272d',
    950: '#000000',
  },
}
SCSS
$custom: #a1272d;
$custom-light: #c56b66;
$custom-dark: #000000;
JSON
{
  "hex": "#a1272d",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 45
  },
  "hsl": {
    "h": 357.049,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.15787,
    "h": 23.3
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#A1272D
secondary
#63C0BC
accent
#E4DC44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #A1272D

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

Preview Lab → · Contrast checker → · Palette generator →

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