#AB241F#AB241F

#AB241F is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.5% C 0.172 H 28.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AB241F
RGBrgb(171, 36, 31)
HSLhsl(2, 69%, 40%)
HSVhsv(2, 82%, 67%)
CMYKcmyk(0%, 78.9%, 81.9%, 32.9%)
CIE-LABlab(37.88, 53.15, 37.61)
CIE-LCHlch(37.88, 65.11, 35.29°)
OKLaboklab(48.5% 0.1519 0.0806)
OKLCHoklch(48.5% 0.172 28)
XYZxyz(17.6750, 10.0215, 2.2997)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB241F #1FA6AB
analogous
#AB1F60 #AB241F #AB6A1F
triadic
#AB241F #1FAB24 #241FAB
tetradic
#AB241F #60AB1F #1FA6AB #6A1FAB
square
#AB241F #60AB1F #1FA6AB #6A1FAB
split-complementary
#AB241F #1FAB6A #1F60AB
monochromatic
#430E0C #771916 #AB241F #D9342E #E36662

Accessibility & contrast

On white

6.99
#AB241F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#AB241F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB241F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB241F#FFFFFF#000000##FFFFFF
##AB241F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#706418
Tritanopia (blue-blind)
#BD0025
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab241f;
/* rgb */ color: rgb(171, 36, 31);
/* oklch */ color: oklch(48.5% 0.172 28.0);
Tailwind
colors: {
  custom: {
    50: '#cd6b5c',
    500: '#ab241f',
    950: '#000000',
  },
}
SCSS
$custom: #ab241f;
$custom-light: #cd6b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab241f",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 2.143,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48499,
    "c": 0.17191,
    "h": 28
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#AB241F
secondary
#5EC4C7
accent
#E6EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #AB241F

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

Preview Lab → · Contrast checker → · Palette generator →

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