#A22727#A22727

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

Color values

HEX#A22727
RGBrgb(162, 39, 39)
HSLhsl(0, 61%, 39%)
HSVhsv(0, 76%, 64%)
CMYKcmyk(0%, 75.9%, 75.9%, 36.5%)
CIE-LABlab(36.52, 49.66, 31.04)
CIE-LCHlch(36.52, 58.56, 32.01°)
OKLaboklab(47.19% 0.1437 0.0695)
OKLCHoklch(47.19% 0.16 25.8)
XYZxyz(15.9939, 9.2814, 2.8684)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22727 #27A2A2
analogous
#A22765 #A22727 #A26527
triadic
#A22727 #27A227 #2727A2
tetradic
#A22727 #65A227 #27A2A2 #6527A2
square
#A22727 #65A227 #27A2A2 #6527A2
split-complementary
#A22727 #27A265 #2765A2
monochromatic
#3F0F0F #711B1B #A22727 #CF3737 #DB6969

Accessibility & contrast

On white

7.35
#A22727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A22727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22727
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22727#FFFFFF#000000##FFFFFF
##A227271.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4526
Deuteranopia (green-blind)
#6A6022
Tritanopia (blue-blind)
#B30029
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22727;
/* rgb */ color: rgb(162, 39, 39);
/* oklch */ color: oklch(47.2% 0.160 25.8);
Tailwind
colors: {
  custom: {
    50: '#c66b61',
    500: '#a22727',
    950: '#000000',
  },
}
SCSS
$custom: #a22727;
$custom-light: #c66b61;
$custom-dark: #000000;
JSON
{
  "hex": "#a22727",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.15956,
    "h": 25.8
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#A22727
secondary
#64C1C1
accent
#E4E443
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A22727

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

Preview Lab → · Contrast checker → · Palette generator →

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