#AB512A#AB512A

#AB512A is a mid, vivid orange. Relative luminance 0.147; OKLCH L 54.1% C 0.129 H 42.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB512A
RGBrgb(171, 81, 42)
HSLhsl(18, 61%, 42%)
HSVhsv(18, 75%, 67%)
CMYKcmyk(0%, 52.6%, 75.4%, 32.9%)
CIE-LABlab(45.24, 34.21, 39.27)
CIE-LCHlch(45.24, 52.09, 48.94°)
OKLaboklab(54.08% 0.0953 0.0874)
OKLCHoklch(54.08% 0.129 42.5)
XYZxyz(20.1569, 14.7125, 3.9684)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB512A #2A84AB
analogous
#AB2A43 #AB512A #AB922A
triadic
#AB512A #2AAB51 #512AAB
tetradic
#AB512A #43AB2A #2A84AB #922AAB
square
#AB512A #43AB2A #2A84AB #922AAB
split-complementary
#AB512A #2AAB92 #2A43AB
monochromatic
#492212 #7A3A1E #AB512A #D16D42 #DD9373

Accessibility & contrast

On white

5.33
#AB512A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB512A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB512A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB512A#FFFFFF#000000##FFFFFF
##AB512A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F25
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#BC3E49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab512a;
/* rgb */ color: rgb(171, 81, 42);
/* oklch */ color: oklch(54.1% 0.129 42.5);
Tailwind
colors: {
  custom: {
    50: '#cb8466',
    500: '#ab512a',
    950: '#000000',
  },
}
SCSS
$custom: #ab512a;
$custom-light: #cb8466;
$custom-dark: #000000;
JSON
{
  "hex": "#ab512a",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 18.14,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54075,
    "c": 0.12933,
    "h": 42.5
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#AB512A
secondary
#6DAAC4
accent
#B3E444
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AB512A

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

Preview Lab → · Contrast checker → · Palette generator →

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