#AB261F#AB261F

#AB261F is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.7% C 0.170 H 28.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AB261F
RGBrgb(171, 38, 31)
HSLhsl(3, 69%, 40%)
HSVhsv(3, 82%, 67%)
CMYKcmyk(0%, 77.8%, 81.9%, 32.9%)
CIE-LABlab(38.10, 52.52, 37.83)
CIE-LCHlch(38.10, 64.73, 35.76°)
OKLaboklab(48.66% 0.1499 0.0811)
OKLCHoklch(48.66% 0.17 28.4)
XYZxyz(17.7372, 10.1459, 2.3205)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB261F #1FA4AB
analogous
#AB1F5E #AB261F #AB6C1F
triadic
#AB261F #1FAB26 #261FAB
tetradic
#AB261F #5EAB1F #1FA4AB #6C1FAB
square
#AB261F #5EAB1F #1FA4AB #6C1FAB
split-complementary
#AB261F #1FAB6C #1F5EAB
monochromatic
#430F0C #771A16 #AB261F #D9372E #E36862

Accessibility & contrast

On white

6.93
#AB261F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#AB261F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB261F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB261F#FFFFFF#000000##FFFFFF
##AB261F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471C
Deuteranopia (green-blind)
#706418
Tritanopia (blue-blind)
#BD0026
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab261f;
/* rgb */ color: rgb(171, 38, 31);
/* oklch */ color: oklch(48.7% 0.170 28.4);
Tailwind
colors: {
  custom: {
    50: '#cd6c5c',
    500: '#ab261f',
    950: '#000000',
  },
}
SCSS
$custom: #ab261f;
$custom-light: #cd6c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab261f",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 3,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.17042,
    "h": 28.4
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#AB261F
secondary
#5EC2C7
accent
#E3EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB261F

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

Preview Lab → · Contrast checker → · Palette generator →

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