#A1251B#A1251B

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

Color values

HEX#A1251B
RGBrgb(161, 37, 27)
HSLhsl(4, 71%, 37%)
HSVhsv(4, 83%, 63%)
CMYKcmyk(0%, 77%, 83.2%, 36.9%)
CIE-LABlab(35.95, 49.60, 37.23)
CIE-LCHlch(35.95, 62.02, 36.89°)
OKLaboklab(46.69% 0.1411 0.0793)
OKLCHoklch(46.69% 0.162 29.3)
XYZxyz(15.5592, 8.9818, 1.9511)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1251B #1B97A1
analogous
#A11B54 #A1251B #A1681B
triadic
#A1251B #1BA125 #251BA1
tetradic
#A1251B #54A11B #1B97A1 #681BA1
square
#A1251B #54A11B #1B97A1 #681BA1
split-complementary
#A1251B #1BA168 #1B54A1
monochromatic
#380D09 #6D1912 #A1251B #D53124 #E25F54

Accessibility & contrast

On white

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

On black

2.80
#A1251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A1251B#FFFFFF#000000##FFFFFF
##A1251B1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1251b;
/* rgb */ color: rgb(161, 37, 27);
/* oklch */ color: oklch(46.7% 0.162 29.3);
Tailwind
colors: {
  custom: {
    50: '#c66a59',
    500: '#a1251b',
    950: '#000000',
  },
}
SCSS
$custom: #a1251b;
$custom-light: #c66a59;
$custom-dark: #000000;
JSON
{
  "hex": "#a1251b",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 4.478,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.1618,
    "h": 29.3
  },
  "luminance": 0.08979
}

Semantic roles & 50–950 ramp

primary
#A1251B
secondary
#52BDC5
accent
#E1EE3A
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A1251B

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

Preview Lab → · Contrast checker → · Palette generator →

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