#AB3227#AB3227

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

Color values

HEX#AB3227
RGBrgb(171, 50, 39)
HSLhsl(5, 63%, 41%)
HSVhsv(5, 77%, 67%)
CMYKcmyk(0%, 70.8%, 77.2%, 32.9%)
CIE-LABlab(39.73, 48.53, 35.04)
CIE-LCHlch(39.73, 59.86, 35.84°)
OKLaboklab(49.9% 0.139 0.0775)
OKLCHoklch(49.9% 0.159 29.2)
XYZxyz(18.3035, 11.0884, 3.0956)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3227 #27A0AB
analogous
#AB275E #AB3227 #AB7427
triadic
#AB3227 #27AB32 #3227AB
tetradic
#AB3227 #5EAB27 #27A0AB #7427AB
square
#AB3227 #5EAB27 #27A0AB #7427AB
split-complementary
#AB3227 #27AB74 #275EAB
monochromatic
#471510 #79231C #AB3227 #D3493D #DE786E

Accessibility & contrast

On white

6.53
#AB3227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3227
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3227#FFFFFF#000000##FFFFFF
##AB32271.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D25
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#BC0231
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3227;
/* rgb */ color: rgb(171, 50, 39);
/* oklch */ color: oklch(49.9% 0.159 29.2);
Tailwind
colors: {
  custom: {
    50: '#cc7262',
    500: '#ab3227',
    950: '#000000',
  },
}
SCSS
$custom: #ab3227;
$custom-light: #cc7262;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3227",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 39
  },
  "hsl": {
    "h": 5,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49903,
    "c": 0.15915,
    "h": 29.2
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#AB3227
secondary
#69BDC5
accent
#D8E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB3227

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

Preview Lab → · Contrast checker → · Palette generator →

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