#AB2A26#AB2A26

#AB2A26 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 27.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2A26
RGBrgb(171, 42, 38)
HSLhsl(2, 64%, 41%)
HSVhsv(2, 78%, 67%)
CMYKcmyk(0%, 75.4%, 77.8%, 32.9%)
CIE-LABlab(38.65, 51.44, 34.46)
CIE-LCHlch(38.65, 61.91, 33.82°)
OKLaboklab(49.09% 0.1479 0.076)
OKLCHoklch(49.09% 0.166 27.2)
XYZxyz(17.9745, 10.4566, 2.9052)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A26 #26A7AB
analogous
#AB2664 #AB2A26 #AB6D26
triadic
#AB2A26 #26AB2A #2A26AB
tetradic
#AB2A26 #64AB26 #26A7AB #6D26AB
square
#AB2A26 #64AB26 #26A7AB #6D26AB
split-complementary
#AB2A26 #26AB6D #2664AB
monochromatic
#471110 #791E1B #AB2A26 #D33F3B #DF706D

Accessibility & contrast

On white

6.79
#AB2A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A26
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A26#FFFFFF#000000##FFFFFF
##AB2A261.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514924
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#BD002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a26;
/* rgb */ color: rgb(171, 42, 38);
/* oklch */ color: oklch(49.1% 0.166 27.2);
Tailwind
colors: {
  custom: {
    50: '#cd6e61',
    500: '#ab2a26',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a26;
$custom-light: #cd6e61;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a26",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 38
  },
  "hsl": {
    "h": 1.805,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.1663,
    "h": 27.2
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#AB2A26
secondary
#68C2C5
accent
#E2E741
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2A26

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

Preview Lab → · Contrast checker → · Palette generator →

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