#AB3228#AB3228

#AB3228 is a mid, vivid red. Relative luminance 0.111; OKLCH L 49.9% C 0.159 H 28.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB3228
RGBrgb(171, 50, 40)
HSLhsl(5, 62%, 41%)
HSVhsv(5, 77%, 67%)
CMYKcmyk(0%, 70.8%, 76.6%, 32.9%)
CIE-LABlab(39.74, 48.57, 34.49)
CIE-LCHlch(39.74, 59.56, 35.38°)
OKLaboklab(49.92% 0.1393 0.0766)
OKLCHoklch(49.92% 0.159 28.8)
XYZxyz(18.3203, 11.0951, 3.1840)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3228 #28A1AB
analogous
#AB2860 #AB3228 #AB7428
triadic
#AB3228 #28AB32 #3228AB
tetradic
#AB3228 #60AB28 #28A1AB #7428AB
square
#AB3228 #60AB28 #28A1AB #7428AB
split-complementary
#AB3228 #28AB74 #2860AB
monochromatic
#481511 #79231C #AB3228 #D24A3E #DE7870

Accessibility & contrast

On white

6.52
#AB3228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB3228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3228
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3228#FFFFFF#000000##FFFFFF
##AB32281.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D26
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#BC0331
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3228;
/* rgb */ color: rgb(171, 50, 40);
/* oklch */ color: oklch(49.9% 0.159 28.8);
Tailwind
colors: {
  custom: {
    50: '#cc7263',
    500: '#ab3228',
    950: '#000000',
  },
}
SCSS
$custom: #ab3228;
$custom-light: #cc7263;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3228",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 4.58,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.15898,
    "h": 28.8
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#AB3228
secondary
#6ABEC4
accent
#D9E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB3228

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

Preview Lab → · Contrast checker → · Palette generator →

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