#AB2D26#AB2D26

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

Color values

HEX#AB2D26
RGBrgb(171, 45, 38)
HSLhsl(3, 64%, 41%)
HSVhsv(3, 78%, 67%)
CMYKcmyk(0%, 73.7%, 77.8%, 32.9%)
CIE-LABlab(39.03, 50.38, 34.87)
CIE-LCHlch(39.03, 61.27, 34.69°)
OKLaboklab(49.38% 0.1446 0.0769)
OKLCHoklch(49.38% 0.164 28)
XYZxyz(18.0849, 10.6774, 2.9420)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D26 #26A4AB
analogous
#AB2661 #AB2D26 #AB6F26
triadic
#AB2D26 #26AB2D #2D26AB
tetradic
#AB2D26 #61AB26 #26A4AB #6F26AB
square
#AB2D26 #61AB26 #26A4AB #6F26AB
split-complementary
#AB2D26 #26AB6F #2661AB
monochromatic
#471310 #79201B #AB2D26 #D3433B #DF736D

Accessibility & contrast

On white

6.70
#AB2D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D26
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D26#FFFFFF#000000##FFFFFF
##AB2D261.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2d26;
/* rgb */ color: rgb(171, 45, 38);
/* oklch */ color: oklch(49.4% 0.164 28.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f61',
    500: '#ab2d26',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d26;
$custom-light: #cd6f61;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d26",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 38
  },
  "hsl": {
    "h": 3.158,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.16375,
    "h": 28
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#AB2D26
secondary
#68C0C5
accent
#DEE741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2D26

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

Preview Lab → · Contrast checker → · Palette generator →

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