#A22731#A22731

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

Color values

HEX#A22731
RGBrgb(162, 39, 49)
HSLhsl(355, 61%, 39%)
HSVhsv(355, 76%, 64%)
CMYKcmyk(0%, 75.9%, 69.8%, 36.5%)
CIE-LABlab(36.66, 50.13, 25.10)
CIE-LCHlch(36.66, 56.06, 26.60°)
OKLaboklab(47.34% 0.1474 0.0584)
OKLCHoklch(47.34% 0.159 21.6)
XYZxyz(16.1820, 9.3566, 3.8591)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22731 #27A298
analogous
#A2276F #A22731 #A25B27
triadic
#A22731 #31A227 #2731A2
tetradic
#A22731 #6FA227 #27A298 #5B27A2
square
#A22731 #6FA227 #27A298 #5B27A2
split-complementary
#A22731 #27A25B #276FA2
monochromatic
#3F0F13 #711B22 #A22731 #CF3744 #DB6972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22731#FFFFFF#000000##FFFFFF
##A227311.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)
#4B4530
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#B2002C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22731;
/* rgb */ color: rgb(162, 39, 49);
/* oklch */ color: oklch(47.3% 0.159 21.6);
Tailwind
colors: {
  custom: {
    50: '#c56c69',
    500: '#a22731',
    950: '#000000',
  },
}
SCSS
$custom: #a22731;
$custom-light: #c56c69;
$custom-dark: #000000;
JSON
{
  "hex": "#a22731",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 355.122,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.15853,
    "h": 21.6
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#A22731
secondary
#64C1B9
accent
#E4D743
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A22731

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

Preview Lab → · Contrast checker → · Palette generator →

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