#A22728#A22728

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

Color values

HEX#A22728
RGBrgb(162, 39, 40)
HSLhsl(360, 61%, 39%)
HSVhsv(360, 76%, 64%)
CMYKcmyk(0%, 75.9%, 75.3%, 36.5%)
CIE-LABlab(36.53, 49.70, 30.46)
CIE-LCHlch(36.53, 58.29, 31.50°)
OKLaboklab(47.21% 0.144 0.0684)
OKLCHoklch(47.21% 0.159 25.4)
XYZxyz(16.0107, 9.2881, 2.9568)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22728 #27A2A1
analogous
#A22766 #A22728 #A26427
triadic
#A22728 #28A227 #2728A2
tetradic
#A22728 #66A227 #27A2A1 #6427A2
square
#A22728 #66A227 #27A2A1 #6427A2
split-complementary
#A22728 #27A264 #2766A2
monochromatic
#3F0F10 #711B1C #A22728 #CF3739 #DB696A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22728#FFFFFF#000000##FFFFFF
##A227281.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)
#4C4527
Deuteranopia (green-blind)
#6A6023
Tritanopia (blue-blind)
#B30029
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22728;
/* rgb */ color: rgb(162, 39, 40);
/* oklch */ color: oklch(47.2% 0.159 25.4);
Tailwind
colors: {
  custom: {
    50: '#c66c62',
    500: '#a22728',
    950: '#000000',
  },
}
SCSS
$custom: #a22728;
$custom-light: #c66c62;
$custom-dark: #000000;
JSON
{
  "hex": "#a22728",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.512,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47207,
    "c": 0.15944,
    "h": 25.4
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#A22728
secondary
#64C1C0
accent
#E4E343
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A22728

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

Preview Lab → · Contrast checker → · Palette generator →

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