#AB512E#AB512E

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

Color values

HEX#AB512E
RGBrgb(171, 81, 46)
HSLhsl(17, 58%, 43%)
HSVhsv(17, 73%, 67%)
CMYKcmyk(0%, 52.6%, 73.1%, 32.9%)
CIE-LABlab(45.28, 34.40, 37.21)
CIE-LCHlch(45.28, 50.68, 47.24°)
OKLaboklab(54.12% 0.0966 0.0839)
OKLCHoklch(54.12% 0.128 41)
XYZxyz(20.2321, 14.7426, 4.3644)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB512E #2E88AB
analogous
#AB2E49 #AB512E #AB902E
triadic
#AB512E #2EAB51 #512EAB
tetradic
#AB512E #49AB2E #2E88AB #902EAB
square
#AB512E #49AB2E #2E88AB #902EAB
split-complementary
#AB512E #2EAB90 #2E49AB
monochromatic
#4B2314 #7B3A21 #AB512E #CE6E48 #DB9479

Accessibility & contrast

On white

5.32
#AB512E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB512E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB512E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB512E#FFFFFF#000000##FFFFFF
##AB512E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2A
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#BC3E49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab512e;
/* rgb */ color: rgb(171, 81, 46);
/* oklch */ color: oklch(54.1% 0.128 41.0);
Tailwind
colors: {
  custom: {
    50: '#ca8468',
    500: '#ab512e',
    950: '#000000',
  },
}
SCSS
$custom: #ab512e;
$custom-light: #ca8468;
$custom-dark: #000000;
JSON
{
  "hex": "#ab512e",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 16.8,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.12794,
    "h": 41
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#AB512E
secondary
#72ACC3
accent
#B6E147
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB512E

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

Preview Lab → · Contrast checker → · Palette generator →

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