#A22531#A22531

#A22531 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.2% C 0.160 H 21.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A22531
RGBrgb(162, 37, 49)
HSLhsl(354, 63%, 39%)
HSVhsv(354, 77%, 64%)
CMYKcmyk(0%, 77.2%, 69.8%, 36.5%)
CIE-LABlab(36.42, 50.80, 24.81)
CIE-LCHlch(36.42, 56.53, 26.03°)
OKLaboklab(47.17% 0.1495 0.0578)
OKLCHoklch(47.17% 0.16 21.1)
XYZxyz(16.1180, 9.2287, 3.8378)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22531 #25A296
analogous
#A22570 #A22531 #A25825
triadic
#A22531 #31A225 #2531A2
tetradic
#A22531 #70A225 #25A296 #5825A2
square
#A22531 #70A225 #25A296 #5825A2
split-complementary
#A22531 #25A258 #2570A2
monochromatic
#3E0E13 #701A22 #A22531 #D13443 #DC6571

Accessibility & contrast

On white

7.38
#A22531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A22531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22531
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22531#FFFFFF#000000##FFFFFF
##A225311.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4530
Deuteranopia (green-blind)
#695F2D
Tritanopia (blue-blind)
#B2002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22531;
/* rgb */ color: rgb(162, 37, 49);
/* oklch */ color: oklch(47.2% 0.160 21.1);
Tailwind
colors: {
  custom: {
    50: '#c56b69',
    500: '#a22531',
    950: '#000000',
  },
}
SCSS
$custom: #a22531;
$custom-light: #c56b69;
$custom-dark: #000000;
JSON
{
  "hex": "#a22531",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 49
  },
  "hsl": {
    "h": 354.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.1603,
    "h": 21.1
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#A22531
secondary
#61C2B8
accent
#E6D642
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A22531

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

Preview Lab → · Contrast checker → · Palette generator →

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