#A1231B#A1231B

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

Color values

HEX#A1231B
RGBrgb(161, 35, 27)
HSLhsl(4, 71%, 37%)
HSVhsv(4, 83%, 63%)
CMYKcmyk(0%, 78.3%, 83.2%, 36.9%)
CIE-LABlab(35.71, 50.25, 37.01)
CIE-LCHlch(35.71, 62.41, 36.37°)
OKLaboklab(46.52% 0.1431 0.0788)
OKLCHoklch(46.52% 0.163 28.8)
XYZxyz(15.4987, 8.8608, 1.9309)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1231B #1B99A1
analogous
#A11B56 #A1231B #A1661B
triadic
#A1231B #1BA123 #231BA1
tetradic
#A1231B #56A11B #1B99A1 #661BA1
square
#A1231B #56A11B #1B99A1 #661BA1
split-complementary
#A1231B #1BA166 #1B56A1
monochromatic
#380C09 #6D1812 #A1231B #D52E24 #E25D54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1231B#FFFFFF#000000##FFFFFF
##A1231B1.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)
#4B4218
Deuteranopia (green-blind)
#6A5E14
Tritanopia (blue-blind)
#B20023
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a1231b;
/* rgb */ color: rgb(161, 35, 27);
/* oklch */ color: oklch(46.5% 0.163 28.8);
Tailwind
colors: {
  custom: {
    50: '#c66959',
    500: '#a1231b',
    950: '#000000',
  },
}
SCSS
$custom: #a1231b;
$custom-light: #c66959;
$custom-dark: #000000;
JSON
{
  "hex": "#a1231b",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.582,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.16336,
    "h": 28.8
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#A1231B
secondary
#52BEC5
accent
#E3EE3A
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A1231B

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

Preview Lab → · Contrast checker → · Palette generator →

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