#AB2B28#AB2B28

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

Color values

HEX#AB2B28
RGBrgb(171, 43, 40)
HSLhsl(1, 62%, 41%)
HSVhsv(1, 77%, 67%)
CMYKcmyk(0%, 74.9%, 76.6%, 32.9%)
CIE-LABlab(38.80, 51.17, 33.46)
CIE-LCHlch(38.80, 61.14, 33.18°)
OKLaboklab(49.21% 0.1475 0.0744)
OKLCHoklch(49.21% 0.165 26.7)
XYZxyz(18.0436, 10.5417, 3.0917)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B28 #28A8AB
analogous
#AB2867 #AB2B28 #AB6D28
triadic
#AB2B28 #28AB2B #2B28AB
tetradic
#AB2B28 #67AB28 #28A8AB #6D28AB
square
#AB2B28 #67AB28 #28A8AB #6D28AB
split-complementary
#AB2B28 #28AB6D #2867AB
monochromatic
#481211 #791F1C #AB2B28 #D2423E #DE7270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2B28#FFFFFF#000000##FFFFFF
##AB2B281.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)
#514A26
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2b28;
/* rgb */ color: rgb(171, 43, 40);
/* oklch */ color: oklch(49.2% 0.165 26.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f62',
    500: '#ab2b28',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b28;
$custom-light: #cd6f62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b28",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 40
  },
  "hsl": {
    "h": 1.374,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.16519,
    "h": 26.7
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#AB2B28
secondary
#6AC2C4
accent
#E1E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2B28

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

Preview Lab → · Contrast checker → · Palette generator →

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