#A22828#A22828

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

Color values

HEX#A22828
RGBrgb(162, 40, 40)
HSLhsl(0, 60%, 40%)
HSVhsv(0, 75%, 64%)
CMYKcmyk(0%, 75.3%, 75.3%, 36.5%)
CIE-LABlab(36.66, 49.35, 30.60)
CIE-LCHlch(36.66, 58.07, 31.80°)
OKLaboklab(47.3% 0.1429 0.0687)
OKLCHoklch(47.3% 0.159 25.7)
XYZxyz(16.0439, 9.3546, 2.9679)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22828 #28A2A2
analogous
#A22865 #A22828 #A26528
triadic
#A22828 #28A228 #2828A2
tetradic
#A22828 #65A228 #28A2A2 #6528A2
square
#A22828 #65A228 #28A2A2 #6528A2
split-complementary
#A22828 #28A265 #2865A2
monochromatic
#401010 #711C1C #A22828 #CE3939 #DA6A6A

Accessibility & contrast

On white

7.32
#A22828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A22828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22828
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22828#FFFFFF#000000##FFFFFF
##A228281.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4527
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#B3002A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22828;
/* rgb */ color: rgb(162, 40, 40);
/* oklch */ color: oklch(47.3% 0.159 25.7);
Tailwind
colors: {
  custom: {
    50: '#c66c62',
    500: '#a22828',
    950: '#000000',
  },
}
SCSS
$custom: #a22828;
$custom-light: #c66c62;
$custom-dark: #000000;
JSON
{
  "hex": "#a22828",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.473,
    "c": 0.15858,
    "h": 25.7
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#A22828
secondary
#65C1C1
accent
#E4E444
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A22828

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

Preview Lab → · Contrast checker → · Palette generator →

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