#AB412B#AB412B

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

Color values

HEX#AB412B
RGBrgb(171, 65, 43)
HSLhsl(10, 60%, 42%)
HSVhsv(10, 75%, 67%)
CMYKcmyk(0%, 62%, 74.9%, 32.9%)
CIE-LABlab(42.18, 42.21, 35.45)
CIE-LCHlch(42.18, 55.13, 40.02°)
OKLaboklab(51.76% 0.1201 0.0794)
OKLCHoklch(51.76% 0.144 33.5)
XYZxyz(19.1229, 12.6156, 3.7131)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB412B #2B95AB
analogous
#AB2B55 #AB412B #AB812B
triadic
#AB412B #2BAB41 #412BAB
tetradic
#AB412B #55AB2B #2B95AB #812BAB
square
#AB412B #55AB2B #2B95AB #812BAB
split-complementary
#AB412B #2BAB81 #2B55AB
monochromatic
#491C12 #7A2E1F #AB412B #D05C43 #DC8674

Accessibility & contrast

On white

5.96
#AB412B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB412B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB412B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB412B#FFFFFF#000000##FFFFFF
##AB412B1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5528
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#BC283C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab412b;
/* rgb */ color: rgb(171, 65, 43);
/* oklch */ color: oklch(51.8% 0.144 33.5);
Tailwind
colors: {
  custom: {
    50: '#cb7a65',
    500: '#ab412b',
    950: '#000000',
  },
}
SCSS
$custom: #ab412b;
$custom-light: #cb7a65;
$custom-dark: #000000;
JSON
{
  "hex": "#ab412b",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 43
  },
  "hsl": {
    "h": 10.312,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.14399,
    "h": 33.5
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#AB412B
secondary
#6EB5C4
accent
#C8E345
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB412B

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

Preview Lab → · Contrast checker → · Palette generator →

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