#AB2B26#AB2B26

#AB2B26 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 27.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2B26
RGBrgb(171, 43, 38)
HSLhsl(2, 64%, 41%)
HSVhsv(2, 78%, 67%)
CMYKcmyk(0%, 74.9%, 77.8%, 32.9%)
CIE-LABlab(38.77, 51.09, 34.59)
CIE-LCHlch(38.77, 61.70, 34.10°)
OKLaboklab(49.19% 0.1468 0.0763)
OKLCHoklch(49.19% 0.165 27.4)
XYZxyz(18.0104, 10.5284, 2.9172)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B26 #26A6AB
analogous
#AB2663 #AB2B26 #AB6D26
triadic
#AB2B26 #26AB2B #2B26AB
tetradic
#AB2B26 #63AB26 #26A6AB #6D26AB
square
#AB2B26 #63AB26 #26A6AB #6D26AB
split-complementary
#AB2B26 #26AB6D #2663AB
monochromatic
#471210 #791E1B #AB2B26 #D3413B #DF716D

Accessibility & contrast

On white

6.76
#AB2B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B26
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B26#FFFFFF#000000##FFFFFF
##AB2B261.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2b26;
/* rgb */ color: rgb(171, 43, 38);
/* oklch */ color: oklch(49.2% 0.165 27.4);
Tailwind
colors: {
  custom: {
    50: '#cd6f61',
    500: '#ab2b26',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b26;
$custom-light: #cd6f61;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b26",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 38
  },
  "hsl": {
    "h": 2.256,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.16546,
    "h": 27.4
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#AB2B26
secondary
#68C1C5
accent
#E0E741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2B26

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

Preview Lab → · Contrast checker → · Palette generator →

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