#A22F28#A22F28

#A22F28 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.0% C 0.152 H 27.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A22F28
RGBrgb(162, 47, 40)
HSLhsl(3, 60%, 40%)
HSVhsv(3, 75%, 64%)
CMYKcmyk(0%, 71%, 75.3%, 36.5%)
CIE-LABlab(37.61, 46.73, 31.66)
CIE-LCHlch(37.61, 56.45, 34.12°)
OKLaboklab(48.01% 0.1346 0.0711)
OKLCHoklch(48.01% 0.152 27.8)
XYZxyz(16.3016, 9.8701, 3.0538)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F28 #289BA2
analogous
#A2285E #A22F28 #A26C28
triadic
#A22F28 #28A22F #2F28A2
tetradic
#A22F28 #5EA228 #289BA2 #6C28A2
square
#A22F28 #5EA228 #289BA2 #6C28A2
split-complementary
#A22F28 #28A26C #285EA2
monochromatic
#401310 #71211C #A22F28 #CE4239 #DA716A

Accessibility & contrast

On white

7.06
#A22F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A22F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22F28
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F28#FFFFFF#000000##FFFFFF
##A22F281.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504926
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#B2042E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a22f28;
/* rgb */ color: rgb(162, 47, 40);
/* oklch */ color: oklch(48.0% 0.152 27.8);
Tailwind
colors: {
  custom: {
    50: '#c56f62',
    500: '#a22f28',
    950: '#000000',
  },
}
SCSS
$custom: #a22f28;
$custom-light: #c56f62;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f28",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 3.443,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.15224,
    "h": 27.8
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#A22F28
secondary
#65BBC1
accent
#DAE444
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A22F28

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

Preview Lab → · Contrast checker → · Palette generator →

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