#AB412C#AB412C

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

Color values

HEX#AB412C
RGBrgb(171, 65, 44)
HSLhsl(10, 59%, 42%)
HSVhsv(10, 74%, 67%)
CMYKcmyk(0%, 62%, 74.3%, 32.9%)
CIE-LABlab(42.19, 42.26, 34.91)
CIE-LCHlch(42.19, 54.81, 39.56°)
OKLaboklab(51.77% 0.1205 0.0785)
OKLCHoklch(51.77% 0.144 33.1)
XYZxyz(19.1415, 12.6230, 3.8109)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB412C #2C96AB
analogous
#AB2C57 #AB412C #AB802C
triadic
#AB412C #2CAB41 #412CAB
tetradic
#AB412C #57AB2C #2C96AB #802CAB
square
#AB412C #57AB2C #2C96AB #802CAB
split-complementary
#AB412C #2CAB80 #2C57AB
monochromatic
#4A1C13 #7A2E1F #AB412C #CF5C45 #DC8776

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB412C#FFFFFF#000000##FFFFFF
##AB412C1.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)
#5E5529
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#BC283D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab412c;
/* rgb */ color: rgb(171, 65, 44);
/* oklch */ color: oklch(51.8% 0.144 33.1);
Tailwind
colors: {
  custom: {
    50: '#cb7a66',
    500: '#ab412c',
    950: '#000000',
  },
}
SCSS
$custom: #ab412c;
$custom-light: #cb7a66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab412c",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 44
  },
  "hsl": {
    "h": 9.921,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.14376,
    "h": 33.1
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#AB412C
secondary
#6FB6C3
accent
#C8E246
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB412C

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

Preview Lab → · Contrast checker → · Palette generator →

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