#AB2829#AB2829

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

Color values

HEX#AB2829
RGBrgb(171, 40, 41)
HSLhsl(360, 62%, 41%)
HSVhsv(360, 77%, 67%)
CMYKcmyk(0%, 76.6%, 76%, 32.9%)
CIE-LABlab(38.44, 52.23, 32.49)
CIE-LCHlch(38.44, 61.51, 31.88°)
OKLaboklab(48.95% 0.1511 0.0725)
OKLCHoklch(48.95% 0.168 25.6)
XYZxyz(17.9557, 10.3384, 3.1475)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2829 #28ABAA
analogous
#AB286B #AB2829 #AB6928
triadic
#AB2829 #29AB28 #2829AB
tetradic
#AB2829 #6BAB28 #28ABAA #6928AB
square
#AB2829 #6BAB28 #28ABAA #6928AB
split-complementary
#AB2829 #28AB69 #286BAB
monochromatic
#481111 #791C1D #AB2829 #D23E3F #DE7071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2829#FFFFFF#000000##FFFFFF
##AB28291.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)
#504827
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#BC002A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2829;
/* rgb */ color: rgb(171, 40, 41);
/* oklch */ color: oklch(49.0% 0.168 25.6);
Tailwind
colors: {
  custom: {
    50: '#cd6d63',
    500: '#ab2829',
    950: '#000000',
  },
}
SCSS
$custom: #ab2829;
$custom-light: #cd6d63;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2829",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.542,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.16756,
    "h": 25.6
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2829

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

Preview Lab → · Contrast checker → · Palette generator →

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