#A1231A#A1231A

#A1231A is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.163 H 29.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A1231A
RGBrgb(161, 35, 26)
HSLhsl(4, 72%, 37%)
HSVhsv(4, 84%, 63%)
CMYKcmyk(0%, 78.3%, 83.9%, 36.9%)
CIE-LABlab(35.71, 50.23, 37.54)
CIE-LCHlch(35.71, 62.70, 36.77°)
OKLaboklab(46.51% 0.1428 0.0796)
OKLCHoklch(46.51% 0.163 29.1)
XYZxyz(15.4873, 8.8562, 1.8710)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1231A #1A98A1
analogous
#A11A55 #A1231A #A1671A
triadic
#A1231A #1AA123 #231AA1
tetradic
#A1231A #55A11A #1A98A1 #671AA1
square
#A1231A #55A11A #1A98A1 #671AA1
split-complementary
#A1231A #1AA167 #1A55A1
monochromatic
#380C09 #6C1811 #A1231A #D62E23 #E35C52

Accessibility & contrast

On white

7.58
#A1231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#A1231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1231A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1231A#FFFFFF#000000##FFFFFF
##A1231A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4217
Deuteranopia (green-blind)
#6A5E13
Tritanopia (blue-blind)
#B20023
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a1231a;
/* rgb */ color: rgb(161, 35, 26);
/* oklch */ color: oklch(46.5% 0.163 29.1);
Tailwind
colors: {
  custom: {
    50: '#c66958',
    500: '#a1231a',
    950: '#000000',
  },
}
SCSS
$custom: #a1231a;
$custom-light: #c66958;
$custom-dark: #000000;
JSON
{
  "hex": "#a1231a",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 4,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46508,
    "c": 0.16349,
    "h": 29.1
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#A1231A
secondary
#51BEC6
accent
#E3EF39
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A1231A

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

Preview Lab → · Contrast checker → · Palette generator →

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