#A12518#A12518

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

Color values

HEX#A12518
RGBrgb(161, 37, 24)
HSLhsl(6, 74%, 36%)
HSVhsv(6, 85%, 63%)
CMYKcmyk(0%, 77%, 85.1%, 36.9%)
CIE-LABlab(35.92, 49.52, 38.79)
CIE-LCHlch(35.92, 62.90, 38.07°)
OKLaboklab(46.67% 0.1402 0.0815)
OKLCHoklch(46.67% 0.162 30.2)
XYZxyz(15.5263, 8.9686, 1.7776)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12518 #1894A1
analogous
#A11850 #A12518 #A16A18
triadic
#A12518 #18A125 #2518A1
tetradic
#A12518 #50A118 #1894A1 #6A18A1
square
#A12518 #50A118 #1894A1 #6A18A1
split-complementary
#A12518 #18A16A #1850A1
monochromatic
#360D08 #6C1910 #A12518 #D63120 #E55D4F

Accessibility & contrast

On white

7.52
#A12518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#A12518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12518
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12518#FFFFFF#000000##FFFFFF
##A125181.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4315
Deuteranopia (green-blind)
#6A5E11
Tritanopia (blue-blind)
#B20024
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12518;
/* rgb */ color: rgb(161, 37, 24);
/* oklch */ color: oklch(46.7% 0.162 30.2);
Tailwind
colors: {
  custom: {
    50: '#c66a57',
    500: '#a12518',
    950: '#000000',
  },
}
SCSS
$custom: #a12518;
$custom-light: #c66a57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12518",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 5.693,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.16222,
    "h": 30.2
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#A12518
secondary
#4EBBC7
accent
#DFF137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12518

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

Preview Lab → · Contrast checker → · Palette generator →

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