#AB3827#AB3827

#AB3827 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.6% C 0.154 H 31.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB3827
RGBrgb(171, 56, 39)
HSLhsl(8, 63%, 41%)
HSVhsv(8, 77%, 67%)
CMYKcmyk(0%, 67.3%, 77.2%, 32.9%)
CIE-LABlab(40.63, 46.07, 36.00)
CIE-LCHlch(40.63, 58.47, 38.01°)
OKLaboklab(50.58% 0.1313 0.0796)
OKLCHoklch(50.58% 0.154 31.2)
XYZxyz(18.5770, 11.6355, 3.1867)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3827 #279AAB
analogous
#AB2758 #AB3827 #AB7A27
triadic
#AB3827 #27AB38 #3827AB
tetradic
#AB3827 #58AB27 #279AAB #7A27AB
square
#AB3827 #58AB27 #279AAB #7A27AB
split-complementary
#AB3827 #27AB7A #2758AB
monochromatic
#471710 #79281C #AB3827 #D3503D #DE7D6E

Accessibility & contrast

On white

6.31
#AB3827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB3827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3827
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3827#FFFFFF#000000##FFFFFF
##AB38271.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#BC1635
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3827;
/* rgb */ color: rgb(171, 56, 39);
/* oklch */ color: oklch(50.6% 0.154 31.2);
Tailwind
colors: {
  custom: {
    50: '#cc7562',
    500: '#ab3827',
    950: '#000000',
  },
}
SCSS
$custom: #ab3827;
$custom-light: #cc7562;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3827",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 39
  },
  "hsl": {
    "h": 7.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.15356,
    "h": 31.2
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#AB3827
secondary
#69B9C5
accent
#D1E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AB3827

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

Preview Lab → · Contrast checker → · Palette generator →

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