#A22F27#A22F27

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

Color values

HEX#A22F27
RGBrgb(162, 47, 39)
HSLhsl(4, 61%, 39%)
HSVhsv(4, 76%, 64%)
CMYKcmyk(0%, 71%, 75.9%, 36.5%)
CIE-LABlab(37.60, 46.69, 32.23)
CIE-LCHlch(37.60, 56.74, 34.62°)
OKLaboklab(48% 0.1343 0.072)
OKLCHoklch(48% 0.152 28.2)
XYZxyz(16.2849, 9.8633, 2.9654)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F27 #279AA2
analogous
#A2275D #A22F27 #A26C27
triadic
#A22F27 #27A22F #2F27A2
tetradic
#A22F27 #5DA227 #279AA2 #6C27A2
square
#A22F27 #5DA227 #279AA2 #6C27A2
split-complementary
#A22F27 #27A26C #275DA2
monochromatic
#3F120F #71211B #A22F27 #CF4137 #DB7069

Accessibility & contrast

On white

7.07
#A22F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A22F27
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F27#FFFFFF#000000##FFFFFF
##A22F271.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22f27;
/* rgb */ color: rgb(162, 47, 39);
/* oklch */ color: oklch(48.0% 0.152 28.2);
Tailwind
colors: {
  custom: {
    50: '#c66f62',
    500: '#a22f27',
    950: '#000000',
  },
}
SCSS
$custom: #a22f27;
$custom-light: #c66f62;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f27",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 3.902,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.15239,
    "h": 28.2
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#A22F27
secondary
#64BBC1
accent
#DAE443
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A22F27

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

Preview Lab → · Contrast checker → · Palette generator →

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