#AB2E22#AB2E22

#AB2E22 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.4% C 0.163 H 29.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB2E22
RGBrgb(171, 46, 34)
HSLhsl(5, 67%, 40%)
HSVhsv(5, 80%, 67%)
CMYKcmyk(0%, 73.1%, 80.1%, 32.9%)
CIE-LABlab(39.12, 49.87, 37.20)
CIE-LCHlch(39.12, 62.22, 36.72°)
OKLaboklab(49.43% 0.1422 0.0807)
OKLCHoklch(49.43% 0.163 29.6)
XYZxyz(18.0624, 10.7302, 2.6331)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E22 #229FAB
analogous
#AB225B #AB2E22 #AB7222
triadic
#AB2E22 #22AB2E #2E22AB
tetradic
#AB2E22 #5BAB22 #229FAB #7222AB
square
#AB2E22 #5BAB22 #229FAB #7222AB
split-complementary
#AB2E22 #22AB72 #225BAB
monochromatic
#45130E #782018 #AB2E22 #D74234 #E17167

Accessibility & contrast

On white

6.68
#AB2E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E22
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E22#FFFFFF#000000##FFFFFF
##AB2E221.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B1F
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#BD002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e22;
/* rgb */ color: rgb(171, 46, 34);
/* oklch */ color: oklch(49.4% 0.163 29.6);
Tailwind
colors: {
  custom: {
    50: '#cd705e',
    500: '#ab2e22',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e22;
$custom-light: #cd705e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e22",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 5.255,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49433,
    "c": 0.16349,
    "h": 29.6
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#AB2E22
secondary
#63BEC6
accent
#DBEA3E
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2E22

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

Preview Lab → · Contrast checker → · Palette generator →

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