#A12823#A12823

#A12823 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.158 H 27.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#A12823
RGBrgb(161, 40, 35)
HSLhsl(2, 64%, 38%)
HSVhsv(2, 78%, 63%)
CMYKcmyk(0%, 75.2%, 78.3%, 36.9%)
CIE-LABlab(36.40, 48.83, 33.21)
CIE-LCHlch(36.40, 59.05, 34.22°)
OKLaboklab(47.05% 0.1403 0.0732)
OKLCHoklch(47.05% 0.158 27.5)
XYZxyz(15.7620, 9.2185, 2.5392)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12823 #239CA1
analogous
#A1235D #A12823 #A16723
triadic
#A12823 #23A128 #2823A1
tetradic
#A12823 #5DA123 #239CA1 #6723A1
square
#A12823 #5DA123 #239CA1 #6723A1
split-complementary
#A12823 #23A167 #235DA1
monochromatic
#3C0F0D #6F1C18 #A12823 #D2362F #DD6762

Accessibility & contrast

On white

7.39
#A12823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A12823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12823
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12823#FFFFFF#000000##FFFFFF
##A128231.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4521
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#B20028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12823;
/* rgb */ color: rgb(161, 40, 35);
/* oklch */ color: oklch(47.1% 0.158 27.5);
Tailwind
colors: {
  custom: {
    50: '#c56c5e',
    500: '#a12823',
    950: '#000000',
  },
}
SCSS
$custom: #a12823;
$custom-light: #c56c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12823",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 2.381,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.15822,
    "h": 27.5
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#A12823
secondary
#5EBEC2
accent
#E1E741
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #A12823

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

Preview Lab → · Contrast checker → · Palette generator →

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