#A1273E#A1273E

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

Color values

HEX#A1273E
RGBrgb(161, 39, 62)
HSLhsl(349, 61%, 39%)
HSVhsv(349, 76%, 63%)
CMYKcmyk(0%, 75.8%, 61.5%, 36.9%)
CIE-LABlab(36.70, 50.59, 16.90)
CIE-LCHlch(36.70, 53.34, 18.47°)
OKLaboklab(47.42% 0.1517 0.0413)
OKLCHoklch(47.42% 0.157 15.2)
XYZxyz(16.2946, 9.3783, 5.5087)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1273E #27A18A
analogous
#A1277B #A1273E #A14D27
triadic
#A1273E #3EA127 #273EA1
tetradic
#A1273E #7BA127 #27A18A #4D27A1
square
#A1273E #7BA127 #27A18A #4D27A1
split-complementary
#A1273E #27A14D #277BA1
monochromatic
#3E0F18 #701B2B #A1273E #CE3753 #DA687E

Accessibility & contrast

On white

7.30
#A1273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A1273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1273E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1273E#FFFFFF#000000##FFFFFF
##A1273E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49463E
Deuteranopia (green-blind)
#68603B
Tritanopia (blue-blind)
#B10031
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1273e;
/* rgb */ color: rgb(161, 39, 62);
/* oklch */ color: oklch(47.4% 0.157 15.2);
Tailwind
colors: {
  custom: {
    50: '#c46c73',
    500: '#a1273e',
    950: '#000000',
  },
}
SCSS
$custom: #a1273e;
$custom-light: #c46c73;
$custom-dark: #000000;
JSON
{
  "hex": "#a1273e",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 348.689,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.15723,
    "h": 15.2
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#A1273E
secondary
#63C0AF
accent
#E4C644
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #A1273E

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

Preview Lab → · Contrast checker → · Palette generator →

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