#AB2E28#AB2E28

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

Color values

HEX#AB2E28
RGBrgb(171, 46, 40)
HSLhsl(3, 62%, 41%)
HSVhsv(3, 77%, 67%)
CMYKcmyk(0%, 73.1%, 76.6%, 32.9%)
CIE-LABlab(39.19, 50.09, 33.89)
CIE-LCHlch(39.19, 60.47, 34.08°)
OKLaboklab(49.5% 0.1441 0.0753)
OKLCHoklch(49.5% 0.163 27.6)
XYZxyz(18.1567, 10.7679, 3.1294)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E28 #28A5AB
analogous
#AB2864 #AB2E28 #AB7028
triadic
#AB2E28 #28AB2E #2E28AB
tetradic
#AB2E28 #64AB28 #28A5AB #7028AB
square
#AB2E28 #64AB28 #28A5AB #7028AB
split-complementary
#AB2E28 #28AB70 #2864AB
monochromatic
#481311 #79211C #AB2E28 #D2453E #DE7570

Accessibility & contrast

On white

6.66
#AB2E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E28
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E28#FFFFFF#000000##FFFFFF
##AB2E281.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e28;
/* rgb */ color: rgb(171, 46, 40);
/* oklch */ color: oklch(49.5% 0.163 27.6);
Tailwind
colors: {
  custom: {
    50: '#cc7062',
    500: '#ab2e28',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e28;
$custom-light: #cc7062;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e28",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 2.748,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49502,
    "c": 0.16259,
    "h": 27.6
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#AB2E28
secondary
#6AC0C4
accent
#DEE543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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