#A22827#A22827

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

Color values

HEX#A22827
RGBrgb(162, 40, 39)
HSLhsl(0, 61%, 39%)
HSVhsv(0, 76%, 64%)
CMYKcmyk(0%, 75.3%, 75.9%, 36.5%)
CIE-LABlab(36.65, 49.31, 31.18)
CIE-LCHlch(36.65, 58.34, 32.31°)
OKLaboklab(47.29% 0.1426 0.0698)
OKLCHoklch(47.29% 0.159 26.1)
XYZxyz(16.0272, 9.3479, 2.8795)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22827 #27A1A2
analogous
#A22764 #A22827 #A26627
triadic
#A22827 #27A228 #2827A2
tetradic
#A22827 #64A227 #27A1A2 #6627A2
square
#A22827 #64A227 #27A1A2 #6627A2
split-complementary
#A22827 #27A266 #2764A2
monochromatic
#3F100F #711C1B #A22827 #CF3937 #DB6A69

Accessibility & contrast

On white

7.32
#A22827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A22827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22827
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22827#FFFFFF#000000##FFFFFF
##A228271.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22827;
/* rgb */ color: rgb(162, 40, 39);
/* oklch */ color: oklch(47.3% 0.159 26.1);
Tailwind
colors: {
  custom: {
    50: '#c66c61',
    500: '#a22827',
    950: '#000000',
  },
}
SCSS
$custom: #a22827;
$custom-light: #c66c61;
$custom-dark: #000000;
JSON
{
  "hex": "#a22827",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.488,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.1587,
    "h": 26.1
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#A22827
secondary
#64C0C1
accent
#E3E443
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A22827

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

Preview Lab → · Contrast checker → · Palette generator →

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