#A22831#A22831

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

Color values

HEX#A22831
RGBrgb(162, 40, 49)
HSLhsl(356, 60%, 40%)
HSVhsv(356, 75%, 64%)
CMYKcmyk(0%, 75.3%, 69.8%, 36.5%)
CIE-LABlab(36.79, 49.78, 25.25)
CIE-LCHlch(36.79, 55.82, 26.90°)
OKLaboklab(47.44% 0.1463 0.0588)
OKLCHoklch(47.44% 0.158 21.9)
XYZxyz(16.2153, 9.4232, 3.8702)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22831 #28A299
analogous
#A2286E #A22831 #A25C28
triadic
#A22831 #31A228 #2831A2
tetradic
#A22831 #6EA228 #28A299 #5C28A2
square
#A22831 #6EA228 #28A299 #5C28A2
split-complementary
#A22831 #28A25C #286EA2
monochromatic
#401013 #711C22 #A22831 #CE3944 #DA6A72

Accessibility & contrast

On white

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

On black

2.88
#A22831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A22831#FFFFFF#000000##FFFFFF
##A228311.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4630
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#B2002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22831;
/* rgb */ color: rgb(162, 40, 49);
/* oklch */ color: oklch(47.4% 0.158 21.9);
Tailwind
colors: {
  custom: {
    50: '#c56c69',
    500: '#a22831',
    950: '#000000',
  },
}
SCSS
$custom: #a22831;
$custom-light: #c56c69;
$custom-dark: #000000;
JSON
{
  "hex": "#a22831",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355.574,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47437,
    "c": 0.15764,
    "h": 21.9
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#A22831
secondary
#65C1BA
accent
#E4D844
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A22831

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

Preview Lab → · Contrast checker → · Palette generator →

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