#A1231F#A1231F

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

Color values

HEX#A1231F
RGBrgb(161, 35, 31)
HSLhsl(2, 68%, 38%)
HSVhsv(2, 81%, 63%)
CMYKcmyk(0%, 78.3%, 80.7%, 36.9%)
CIE-LABlab(35.75, 50.38, 34.83)
CIE-LCHlch(35.75, 61.25, 34.66°)
OKLaboklab(46.56% 0.1443 0.0754)
OKLCHoklch(46.56% 0.163 27.6)
XYZxyz(15.5482, 8.8805, 2.1915)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1231F #1F9DA1
analogous
#A11F5C #A1231F #A1641F
triadic
#A1231F #1FA123 #231FA1
tetradic
#A1231F #5CA11F #1F9DA1 #641FA1
square
#A1231F #5CA11F #1F9DA1 #641FA1
split-complementary
#A1231F #1FA164 #1F5CA1
monochromatic
#3A0D0B #6E1815 #A1231F #D42E29 #DF5F5B

Accessibility & contrast

On white

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

On black

2.78
#A1231F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A1231F#FFFFFF#000000##FFFFFF
##A1231F1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1231f;
/* rgb */ color: rgb(161, 35, 31);
/* oklch */ color: oklch(46.6% 0.163 27.6);
Tailwind
colors: {
  custom: {
    50: '#c6695b',
    500: '#a1231f',
    950: '#000000',
  },
}
SCSS
$custom: #a1231f;
$custom-light: #c6695b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1231f",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.846,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.16284,
    "h": 27.6
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#A1231F
secondary
#58C0C4
accent
#E5EB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A1231F

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

Preview Lab → · Contrast checker → · Palette generator →

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