#A12B23#A12B23

#A12B23 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.3% C 0.156 H 28.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A12B23
RGBrgb(161, 43, 35)
HSLhsl(4, 64%, 38%)
HSVhsv(4, 78%, 63%)
CMYKcmyk(0%, 73.3%, 78.3%, 36.9%)
CIE-LABlab(36.80, 47.74, 33.63)
CIE-LCHlch(36.80, 58.39, 35.16°)
OKLaboklab(47.35% 0.1369 0.0741)
OKLCHoklch(47.35% 0.156 28.4)
XYZxyz(15.8670, 9.4286, 2.5742)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B23 #2399A1
analogous
#A1235A #A12B23 #A16A23
triadic
#A12B23 #23A12B #2B23A1
tetradic
#A12B23 #5AA123 #2399A1 #6A23A1
square
#A12B23 #5AA123 #2399A1 #6A23A1
split-complementary
#A12B23 #23A16A #235AA1
monochromatic
#3C100D #6F1E18 #A12B23 #D23A2F #DD6962

Accessibility & contrast

On white

7.28
#A12B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A12B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12B23
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B23#FFFFFF#000000##FFFFFF
##A12B231.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4621
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#B2002A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12b23;
/* rgb */ color: rgb(161, 43, 35);
/* oklch */ color: oklch(47.3% 0.156 28.4);
Tailwind
colors: {
  custom: {
    50: '#c56d5f',
    500: '#a12b23',
    950: '#000000',
  },
}
SCSS
$custom: #a12b23;
$custom-light: #c56d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b23",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 35
  },
  "hsl": {
    "h": 3.81,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.15561,
    "h": 28.4
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#A12B23
secondary
#5EBCC2
accent
#DDE741
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #A12B23

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

Preview Lab → · Contrast checker → · Palette generator →

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