#A1273D#A1273D

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

Color values

HEX#A1273D
RGBrgb(161, 39, 61)
HSLhsl(349, 61%, 39%)
HSVhsv(349, 76%, 63%)
CMYKcmyk(0%, 75.8%, 62.1%, 36.9%)
CIE-LABlab(36.68, 50.53, 17.51)
CIE-LCHlch(36.68, 53.48, 19.11°)
OKLaboklab(47.39% 0.1513 0.0427)
OKLCHoklch(47.39% 0.157 15.7)
XYZxyz(16.2674, 9.3674, 5.3655)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1273D #27A18B
analogous
#A1277A #A1273D #A14E27
triadic
#A1273D #3DA127 #273DA1
tetradic
#A1273D #7AA127 #27A18B #4E27A1
square
#A1273D #7AA127 #27A18B #4E27A1
split-complementary
#A1273D #27A14E #277AA1
monochromatic
#3E0F18 #701B2A #A1273D #CE3752 #DA687D

Accessibility & contrast

On white

7.31
#A1273D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1273D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1273D#FFFFFF#000000##FFFFFF
##A1273D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1273d;
/* rgb */ color: rgb(161, 39, 61);
/* oklch */ color: oklch(47.4% 0.157 15.7);
Tailwind
colors: {
  custom: {
    50: '#c46c72',
    500: '#a1273d',
    950: '#000000',
  },
}
SCSS
$custom: #a1273d;
$custom-light: #c46c72;
$custom-dark: #000000;
JSON
{
  "hex": "#a1273d",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 61
  },
  "hsl": {
    "h": 349.18,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47393,
    "c": 0.15721,
    "h": 15.7
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1273D

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

Preview Lab → · Contrast checker → · Palette generator →

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