#A12818#A12818

#A12818 is a mid, vivid red. Relative luminance 0.092; OKLCH L 46.9% C 0.160 H 31.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A12818
RGBrgb(161, 40, 24)
HSLhsl(7, 74%, 36%)
HSVhsv(7, 85%, 63%)
CMYKcmyk(0%, 75.2%, 85.1%, 36.9%)
CIE-LABlab(36.30, 48.48, 39.12)
CIE-LCHlch(36.30, 62.30, 38.90°)
OKLaboklab(46.94% 0.137 0.0823)
OKLCHoklch(46.94% 0.16 31)
XYZxyz(15.6235, 9.1631, 1.8100)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12818 #1891A1
analogous
#A1184D #A12818 #A16D18
triadic
#A12818 #18A128 #2818A1
tetradic
#A12818 #4DA118 #1891A1 #6D18A1
square
#A12818 #4DA118 #1891A1 #6D18A1
split-complementary
#A12818 #18A16D #184DA1
monochromatic
#360E08 #6C1B10 #A12818 #D63520 #E5604F

Accessibility & contrast

On white

7.41
#A12818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A12818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12818
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12818#FFFFFF#000000##FFFFFF
##A128181.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4414
Deuteranopia (green-blind)
#6B5F11
Tritanopia (blue-blind)
#B20026
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12818;
/* rgb */ color: rgb(161, 40, 24);
/* oklch */ color: oklch(46.9% 0.160 31.0);
Tailwind
colors: {
  custom: {
    50: '#c66b57',
    500: '#a12818',
    950: '#000000',
  },
}
SCSS
$custom: #a12818;
$custom-light: #c66b57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12818",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 7.007,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.15982,
    "h": 31
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#A12818
secondary
#4EB9C7
accent
#DBF137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12818

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

Preview Lab → · Contrast checker → · Palette generator →

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