#A1231E#A1231E

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

Color values

HEX#A1231E
RGBrgb(161, 35, 30)
HSLhsl(2, 69%, 37%)
HSVhsv(2, 81%, 63%)
CMYKcmyk(0%, 78.3%, 81.4%, 36.9%)
CIE-LABlab(35.74, 50.35, 35.38)
CIE-LCHlch(35.74, 61.53, 35.10°)
OKLaboklab(46.55% 0.144 0.0763)
OKLCHoklch(46.55% 0.163 27.9)
XYZxyz(15.5352, 8.8754, 2.1232)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1231E #1E9CA1
analogous
#A11E5B #A1231E #A1641E
triadic
#A1231E #1EA123 #231EA1
tetradic
#A1231E #5BA11E #1E9CA1 #641EA1
square
#A1231E #5BA11E #1E9CA1 #641EA1
split-complementary
#A1231E #1EA164 #1E5BA1
monochromatic
#3A0D0B #6D1814 #A1231E #D52E28 #E05E59

Accessibility & contrast

On white

7.57
#A1231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1231E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1231E#FFFFFF#000000##FFFFFF
##A1231E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A431C
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#B20024
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a1231e;
/* rgb */ color: rgb(161, 35, 30);
/* oklch */ color: oklch(46.5% 0.163 27.9);
Tailwind
colors: {
  custom: {
    50: '#c6695b',
    500: '#a1231e',
    950: '#000000',
  },
}
SCSS
$custom: #a1231e;
$custom-light: #c6695b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1231e",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.29,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.16297,
    "h": 27.9
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#A1231E
secondary
#57C0C4
accent
#E5EB3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A1231E

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

Preview Lab → · Contrast checker → · Palette generator →

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