#A1272F#A1272F

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

Color values

HEX#A1272F
RGBrgb(161, 39, 47)
HSLhsl(356, 61%, 39%)
HSVhsv(356, 76%, 63%)
CMYKcmyk(0%, 75.8%, 70.8%, 36.9%)
CIE-LABlab(36.43, 49.71, 26.02)
CIE-LCHlch(36.43, 56.11, 27.63°)
OKLaboklab(47.13% 0.1457 0.0602)
OKLCHoklch(47.13% 0.158 22.4)
XYZxyz(15.9383, 9.2358, 3.6322)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1272F #27A199
analogous
#A1276C #A1272F #A15C27
triadic
#A1272F #2FA127 #272FA1
tetradic
#A1272F #6CA127 #27A199 #5C27A1
square
#A1272F #6CA127 #27A199 #5C27A1
split-complementary
#A1272F #27A15C #276CA1
monochromatic
#3E0F12 #701B21 #A1272F #CE3741 #DA686F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1272F#FFFFFF#000000##FFFFFF
##A1272F1.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)
#4B452E
Deuteranopia (green-blind)
#695F2B
Tritanopia (blue-blind)
#B1002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1272f;
/* rgb */ color: rgb(161, 39, 47);
/* oklch */ color: oklch(47.1% 0.158 22.4);
Tailwind
colors: {
  custom: {
    50: '#c56c67',
    500: '#a1272f',
    950: '#000000',
  },
}
SCSS
$custom: #a1272f;
$custom-light: #c56c67;
$custom-dark: #000000;
JSON
{
  "hex": "#a1272f",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 356.066,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.15768,
    "h": 22.4
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#A1272F
secondary
#63C0BA
accent
#E4DA44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A1272F

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

Preview Lab → · Contrast checker → · Palette generator →

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