#AB2E26#AB2E26

#AB2E26 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.163 H 28.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB2E26
RGBrgb(171, 46, 38)
HSLhsl(4, 64%, 41%)
HSVhsv(4, 78%, 67%)
CMYKcmyk(0%, 73.1%, 77.8%, 32.9%)
CIE-LABlab(39.16, 50.01, 35.01)
CIE-LCHlch(39.16, 61.05, 34.99°)
OKLaboklab(49.48% 0.1434 0.0772)
OKLCHoklch(49.48% 0.163 28.3)
XYZxyz(18.1235, 10.7546, 2.9549)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E26 #26A3AB
analogous
#AB2660 #AB2E26 #AB7026
triadic
#AB2E26 #26AB2E #2E26AB
tetradic
#AB2E26 #60AB26 #26A3AB #7026AB
square
#AB2E26 #60AB26 #26A3AB #7026AB
split-complementary
#AB2E26 #26AB70 #2660AB
monochromatic
#471310 #79211B #AB2E26 #D3443B #DF746D

Accessibility & contrast

On white

6.67
#AB2E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E26
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E26#FFFFFF#000000##FFFFFF
##AB2E261.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B24
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e26;
/* rgb */ color: rgb(171, 46, 38);
/* oklch */ color: oklch(49.5% 0.163 28.3);
Tailwind
colors: {
  custom: {
    50: '#cd7061',
    500: '#ab2e26',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e26;
$custom-light: #cd7061;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e26",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 3.609,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49478,
    "c": 0.16288,
    "h": 28.3
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#AB2E26
secondary
#68BFC5
accent
#DDE741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2E26

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

Preview Lab → · Contrast checker → · Palette generator →

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