#AB412F#AB412F

#AB412F is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.8% C 0.143 H 31.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB412F
RGBrgb(171, 65, 47)
HSLhsl(9, 57%, 43%)
HSVhsv(9, 73%, 67%)
CMYKcmyk(0%, 62%, 72.5%, 32.9%)
CIE-LABlab(42.23, 42.40, 33.25)
CIE-LCHlch(42.23, 53.89, 38.10°)
OKLaboklab(51.81% 0.1215 0.0755)
OKLCHoklch(51.81% 0.143 31.9)
XYZxyz(19.2000, 12.6464, 4.1187)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB412F #2F99AB
analogous
#AB2F5B #AB412F #AB7F2F
triadic
#AB412F #2FAB41 #412FAB
tetradic
#AB412F #5BAB2F #2F99AB #7F2FAB
square
#AB412F #5BAB2F #2F99AB #7F2FAB
split-complementary
#AB412F #2FAB7F #2F5BAB
monochromatic
#4B1D15 #7B2F22 #AB412F #CD5D4A #DA887A

Accessibility & contrast

On white

5.95
#AB412F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB412F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB412F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB412F#FFFFFF#000000##FFFFFF
##AB412F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552D
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#BC283D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab412f;
/* rgb */ color: rgb(171, 65, 47);
/* oklch */ color: oklch(51.8% 0.143 31.9);
Tailwind
colors: {
  custom: {
    50: '#cb7a68',
    500: '#ab412f',
    950: '#000000',
  },
}
SCSS
$custom: #ab412f;
$custom-light: #cb7a68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab412f",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 47
  },
  "hsl": {
    "h": 8.71,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.14306,
    "h": 31.9
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#AB412F
secondary
#73B7C3
accent
#CAE048
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB412F

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

Preview Lab → · Contrast checker → · Palette generator →

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