#A12D23#A12D23

#A12D23 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.154 H 29.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A12D23
RGBrgb(161, 45, 35)
HSLhsl(5, 64%, 38%)
HSVhsv(5, 78%, 63%)
CMYKcmyk(0%, 72%, 78.3%, 36.9%)
CIE-LABlab(37.07, 46.98, 33.92)
CIE-LCHlch(37.07, 57.94, 35.83°)
OKLaboklab(47.56% 0.1345 0.0747)
OKLCHoklch(47.56% 0.154 29.1)
XYZxyz(15.9415, 9.5776, 2.5990)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D23 #2397A1
analogous
#A12358 #A12D23 #A16C23
triadic
#A12D23 #23A12D #2D23A1
tetradic
#A12D23 #58A123 #2397A1 #6C23A1
square
#A12D23 #58A123 #2397A1 #6C23A1
split-complementary
#A12D23 #23A16C #2358A1
monochromatic
#3C110D #6F1F18 #A12D23 #D23C2F #DD6B62

Accessibility & contrast

On white

7.20
#A12D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12D23
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D23#FFFFFF#000000##FFFFFF
##A12D231.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4721
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#B2002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12d23;
/* rgb */ color: rgb(161, 45, 35);
/* oklch */ color: oklch(47.6% 0.154 29.1);
Tailwind
colors: {
  custom: {
    50: '#c56e5f',
    500: '#a12d23',
    950: '#000000',
  },
}
SCSS
$custom: #a12d23;
$custom-light: #c56e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d23",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 35
  },
  "hsl": {
    "h": 4.762,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47556,
    "c": 0.15383,
    "h": 29.1
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#A12D23
secondary
#5EBAC2
accent
#DAE741
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #A12D23

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

Preview Lab → · Contrast checker → · Palette generator →

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