#A1273C#A1273C

#A1273C is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.4% C 0.157 H 16.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A1273C
RGBrgb(161, 39, 60)
HSLhsl(350, 61%, 39%)
HSVhsv(350, 76%, 63%)
CMYKcmyk(0%, 75.8%, 62.7%, 36.9%)
CIE-LABlab(36.66, 50.46, 18.12)
CIE-LCHlch(36.66, 53.62, 19.75°)
OKLaboklab(47.37% 0.1509 0.044)
OKLCHoklch(47.37% 0.157 16.2)
XYZxyz(16.2408, 9.3567, 5.2249)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1273C #27A18C
analogous
#A12779 #A1273C #A14F27
triadic
#A1273C #3CA127 #273CA1
tetradic
#A1273C #79A127 #27A18C #4F27A1
square
#A1273C #79A127 #27A18C #4F27A1
split-complementary
#A1273C #27A14F #2779A1
monochromatic
#3E0F17 #701B2A #A1273C #CE3751 #DA687C

Accessibility & contrast

On white

7.32
#A1273C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A1273C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1273C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1273C#FFFFFF#000000##FFFFFF
##A1273C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49463C
Deuteranopia (green-blind)
#685F39
Tritanopia (blue-blind)
#B10030
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1273c;
/* rgb */ color: rgb(161, 39, 60);
/* oklch */ color: oklch(47.4% 0.157 16.2);
Tailwind
colors: {
  custom: {
    50: '#c46c71',
    500: '#a1273c',
    950: '#000000',
  },
}
SCSS
$custom: #a1273c;
$custom-light: #c46c71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1273c",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 60
  },
  "hsl": {
    "h": 349.672,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.15718,
    "h": 16.2
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#A1273C
secondary
#63C0B0
accent
#E4C944
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #A1273C

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

Preview Lab → · Contrast checker → · Palette generator →

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