#A22823#A22823

#A22823 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.2% C 0.159 H 27.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A22823
RGBrgb(162, 40, 35)
HSLhsl(2, 64%, 39%)
HSVhsv(2, 78%, 64%)
CMYKcmyk(0%, 75.3%, 78.4%, 36.5%)
CIE-LABlab(36.60, 49.15, 33.48)
CIE-LCHlch(36.60, 59.47, 34.26°)
OKLaboklab(47.24% 0.1412 0.0736)
OKLCHoklch(47.24% 0.159 27.5)
XYZxyz(15.9643, 9.3228, 2.5487)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22823 #239DA2
analogous
#A2235D #A22823 #A26723
triadic
#A22823 #23A228 #2823A2
tetradic
#A22823 #5DA223 #239DA2 #6723A2
square
#A22823 #5DA223 #239DA2 #6723A2
split-complementary
#A22823 #23A267 #235DA2
monochromatic
#3D0F0D #701C18 #A22823 #D23630 #DD6762

Accessibility & contrast

On white

7.33
#A22823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A22823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22823
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22823#FFFFFF#000000##FFFFFF
##A228231.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4521
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#B30028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22823;
/* rgb */ color: rgb(162, 40, 35);
/* oklch */ color: oklch(47.2% 0.159 27.5);
Tailwind
colors: {
  custom: {
    50: '#c66c5e',
    500: '#a22823',
    950: '#000000',
  },
}
SCSS
$custom: #a22823;
$custom-light: #c66c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#a22823",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 2.362,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47237,
    "c": 0.15924,
    "h": 27.5
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#A22823
secondary
#5EBEC2
accent
#E1E740
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A22823

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

Preview Lab → · Contrast checker → · Palette generator →

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