#A1273F#A1273F

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

Color values

HEX#A1273F
RGBrgb(161, 39, 63)
HSLhsl(348, 61%, 39%)
HSVhsv(348, 76%, 63%)
CMYKcmyk(0%, 75.8%, 60.9%, 36.9%)
CIE-LABlab(36.72, 50.66, 16.28)
CIE-LCHlch(36.72, 53.22, 17.82°)
OKLaboklab(47.44% 0.1521 0.04)
OKLCHoklch(47.44% 0.157 14.7)
XYZxyz(16.3223, 9.3894, 5.6545)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1273F #27A189
analogous
#A1277C #A1273F #A14C27
triadic
#A1273F #3FA127 #273FA1
tetradic
#A1273F #7CA127 #27A189 #4C27A1
square
#A1273F #7CA127 #27A189 #4C27A1
split-complementary
#A1273F #27A14C #277CA1
monochromatic
#3E0F18 #701B2C #A1273F #CE3755 #DA687E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1273F#FFFFFF#000000##FFFFFF
##A1273F1.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)
#48463F
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#B10031
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1273f;
/* rgb */ color: rgb(161, 39, 63);
/* oklch */ color: oklch(47.4% 0.157 14.7);
Tailwind
colors: {
  custom: {
    50: '#c36c73',
    500: '#a1273f',
    950: '#000000',
  },
}
SCSS
$custom: #a1273f;
$custom-light: #c36c73;
$custom-dark: #000000;
JSON
{
  "hex": "#a1273f",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 63
  },
  "hsl": {
    "h": 348.197,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47437,
    "c": 0.15728,
    "h": 14.7
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#A1273F
secondary
#63C0AE
accent
#E4C544
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A1273F

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

Preview Lab → · Contrast checker → · Palette generator →

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