#A12718#A12718

#A12718 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.161 H 30.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A12718
RGBrgb(161, 39, 24)
HSLhsl(7, 74%, 36%)
HSVhsv(7, 85%, 63%)
CMYKcmyk(0%, 75.8%, 85.1%, 36.9%)
CIE-LABlab(36.17, 48.83, 39.01)
CIE-LCHlch(36.17, 62.50, 38.62°)
OKLaboklab(46.85% 0.1381 0.082)
OKLCHoklch(46.85% 0.161 30.7)
XYZxyz(15.5902, 9.0965, 1.7989)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12718 #1892A1
analogous
#A1184E #A12718 #A16C18
triadic
#A12718 #18A127 #2718A1
tetradic
#A12718 #4EA118 #1892A1 #6C18A1
square
#A12718 #4EA118 #1892A1 #6C18A1
split-complementary
#A12718 #18A16C #184EA1
monochromatic
#360D08 #6C1A10 #A12718 #D63420 #E55F4F

Accessibility & contrast

On white

7.45
#A12718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A12718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12718
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12718#FFFFFF#000000##FFFFFF
##A127181.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12718;
/* rgb */ color: rgb(161, 39, 24);
/* oklch */ color: oklch(46.8% 0.161 30.7);
Tailwind
colors: {
  custom: {
    50: '#c66b57',
    500: '#a12718',
    950: '#000000',
  },
}
SCSS
$custom: #a12718;
$custom-light: #c66b57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12718",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 6.569,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.16063,
    "h": 30.7
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#A12718
secondary
#4EBAC7
accent
#DCF137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12718

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

Preview Lab → · Contrast checker → · Palette generator →

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