#A1272C#A1272C

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

Color values

HEX#A1272C
RGBrgb(161, 39, 44)
HSLhsl(358, 61%, 39%)
HSVhsv(358, 76%, 63%)
CMYKcmyk(0%, 75.8%, 72.7%, 36.9%)
CIE-LABlab(36.39, 49.57, 27.82)
CIE-LCHlch(36.39, 56.84, 29.30°)
OKLaboklab(47.08% 0.1446 0.0636)
OKLCHoklch(47.08% 0.158 23.7)
XYZxyz(15.8799, 9.2124, 3.3244)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1272C #27A19C
analogous
#A12769 #A1272C #A15F27
triadic
#A1272C #2CA127 #272CA1
tetradic
#A1272C #69A127 #27A19C #5F27A1
square
#A1272C #69A127 #27A19C #5F27A1
split-complementary
#A1272C #27A15F #2769A1
monochromatic
#3E0F11 #701B1F #A1272C #CE373D #DA686D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1272C#FFFFFF#000000##FFFFFF
##A1272C1.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)
#4B452B
Deuteranopia (green-blind)
#695F28
Tritanopia (blue-blind)
#B1002A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1272c;
/* rgb */ color: rgb(161, 39, 44);
/* oklch */ color: oklch(47.1% 0.158 23.7);
Tailwind
colors: {
  custom: {
    50: '#c56b65',
    500: '#a1272c',
    950: '#000000',
  },
}
SCSS
$custom: #a1272c;
$custom-light: #c56b65;
$custom-dark: #000000;
JSON
{
  "hex": "#a1272c",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 357.541,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47082,
    "c": 0.15796,
    "h": 23.7
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1272C

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

Preview Lab → · Contrast checker → · Palette generator →

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