#A12118#A12118

#A12118 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.165 H 29.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A12118
RGBrgb(161, 33, 24)
HSLhsl(4, 74%, 36%)
HSVhsv(4, 85%, 63%)
CMYKcmyk(0%, 79.5%, 85.1%, 36.9%)
CIE-LABlab(35.47, 50.80, 38.37)
CIE-LCHlch(35.47, 63.66, 37.07°)
OKLaboklab(46.32% 0.1443 0.0806)
OKLCHoklch(46.32% 0.165 29.2)
XYZxyz(15.4086, 8.7332, 1.7383)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12118 #1898A1
analogous
#A11854 #A12118 #A16618
triadic
#A12118 #18A121 #2118A1
tetradic
#A12118 #54A118 #1898A1 #6618A1
square
#A12118 #54A118 #1898A1 #6618A1
split-complementary
#A12118 #18A166 #1854A1
monochromatic
#360B08 #6C1610 #A12118 #D62C20 #E5594F

Accessibility & contrast

On white

7.65
#A12118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#A12118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12118
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12118#FFFFFF#000000##FFFFFF
##A121181.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4215
Deuteranopia (green-blind)
#695D10
Tritanopia (blue-blind)
#B20021
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a12118;
/* rgb */ color: rgb(161, 33, 24);
/* oklch */ color: oklch(46.3% 0.165 29.2);
Tailwind
colors: {
  custom: {
    50: '#c66957',
    500: '#a12118',
    950: '#000000',
  },
}
SCSS
$custom: #a12118;
$custom-light: #c66957;
$custom-dark: #000000;
JSON
{
  "hex": "#a12118",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 3.942,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.16524,
    "h": 29.2
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#A12118
secondary
#4EBFC7
accent
#E5F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12118

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

Preview Lab → · Contrast checker → · Palette generator →

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