#A1251A#A1251A

#A1251A is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.162 H 29.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A1251A
RGBrgb(161, 37, 26)
HSLhsl(5, 72%, 37%)
HSVhsv(5, 84%, 63%)
CMYKcmyk(0%, 77%, 83.9%, 36.9%)
CIE-LABlab(35.94, 49.57, 37.76)
CIE-LCHlch(35.94, 62.31, 37.30°)
OKLaboklab(46.68% 0.1408 0.08)
OKLCHoklch(46.68% 0.162 29.6)
XYZxyz(15.5479, 8.9773, 1.8912)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1251A #1A96A1
analogous
#A11A53 #A1251A #A1691A
triadic
#A1251A #1AA125 #251AA1
tetradic
#A1251A #53A11A #1A96A1 #691AA1
square
#A1251A #53A11A #1A96A1 #691AA1
split-complementary
#A1251A #1AA169 #1A53A1
monochromatic
#380D09 #6C1911 #A1251A #D63123 #E35E52

Accessibility & contrast

On white

7.51
#A1251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#A1251A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1251A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1251A#FFFFFF#000000##FFFFFF
##A1251A1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4317
Deuteranopia (green-blind)
#6A5E13
Tritanopia (blue-blind)
#B20024
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a1251a;
/* rgb */ color: rgb(161, 37, 26);
/* oklch */ color: oklch(46.7% 0.162 29.6);
Tailwind
colors: {
  custom: {
    50: '#c66a58',
    500: '#a1251a',
    950: '#000000',
  },
}
SCSS
$custom: #a1251a;
$custom-light: #c66a58;
$custom-dark: #000000;
JSON
{
  "hex": "#a1251a",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 4.889,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.16194,
    "h": 29.6
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#A1251A
secondary
#51BCC6
accent
#E0EF39
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A1251A

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

Preview Lab → · Contrast checker → · Palette generator →

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