#AB2828#AB2828

#AB2828 is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.9% C 0.168 H 26.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AB2828
RGBrgb(171, 40, 40)
HSLhsl(0, 62%, 41%)
HSVhsv(0, 77%, 67%)
CMYKcmyk(0%, 76.6%, 76.6%, 32.9%)
CIE-LABlab(38.43, 52.19, 33.06)
CIE-LCHlch(38.43, 61.78, 32.35°)
OKLaboklab(48.94% 0.1507 0.0735)
OKLCHoklch(48.94% 0.168 26)
XYZxyz(17.9385, 10.3315, 3.0567)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2828 #28ABAB
analogous
#AB286A #AB2828 #AB6A28
triadic
#AB2828 #28AB28 #2828AB
tetradic
#AB2828 #6AAB28 #28ABAB #6A28AB
square
#AB2828 #6AAB28 #28ABAB #6A28AB
split-complementary
#AB2828 #28AB6A #286AAB
monochromatic
#481111 #791C1C #AB2828 #D23E3E #DE7070

Accessibility & contrast

On white

6.85
#AB2828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AB2828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2828
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2828#FFFFFF#000000##FFFFFF
##AB28281.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504826
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#BD002A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2828;
/* rgb */ color: rgb(171, 40, 40);
/* oklch */ color: oklch(48.9% 0.168 26.0);
Tailwind
colors: {
  custom: {
    50: '#cd6d62',
    500: '#ab2828',
    950: '#000000',
  },
}
SCSS
$custom: #ab2828;
$custom-light: #cd6d62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2828",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.16769,
    "h": 26
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#AB2828
secondary
#6AC4C4
accent
#E5E543
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2828

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

Preview Lab → · Contrast checker → · Palette generator →

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