#A22040#A22040

#A22040 is a mid, vivid red. Relative luminance 0.091; OKLCH L 47.1% C 0.165 H 12.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A22040
RGBrgb(162, 32, 64)
HSLhsl(345, 67%, 38%)
HSVhsv(345, 80%, 64%)
CMYKcmyk(0%, 80.2%, 60.5%, 36.5%)
CIE-LABlab(36.15, 53.25, 14.91)
CIE-LCHlch(36.15, 55.30, 15.64°)
OKLaboklab(47.06% 0.1605 0.0368)
OKLCHoklch(47.06% 0.165 12.9)
XYZxyz(16.3439, 9.0870, 5.7429)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22040 #20A282
analogous
#A22081 #A22040 #A24120
triadic
#A22040 #40A220 #2040A2
tetradic
#A22040 #81A220 #20A282 #4120A2
square
#A22040 #81A220 #20A282 #4120A2
split-complementary
#A22040 #20A241 #2081A2
monochromatic
#3C0C18 #6F162C #A22040 #D52A54 #DF5D7D

Accessibility & contrast

On white

7.45
#A22040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A22040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22040
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22040#FFFFFF#000000##FFFFFF
##A220401.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#665F3D
Tritanopia (blue-blind)
#B2002E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a22040;
/* rgb */ color: rgb(162, 32, 64);
/* oklch */ color: oklch(47.1% 0.165 12.9);
Tailwind
colors: {
  custom: {
    50: '#c46974',
    500: '#a22040',
    950: '#000000',
  },
}
SCSS
$custom: #a22040;
$custom-light: #c46974;
$custom-dark: #000000;
JSON
{
  "hex": "#a22040",
  "rgb": {
    "r": 162,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 345.231,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47056,
    "c": 0.16467,
    "h": 12.9
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#A22040
secondary
#5AC3AA
accent
#EAC03E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A22040

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

Preview Lab → · Contrast checker → · Palette generator →

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