#AB512D#AB512D

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

Color values

HEX#AB512D
RGBrgb(171, 81, 45)
HSLhsl(17, 58%, 42%)
HSVhsv(17, 74%, 67%)
CMYKcmyk(0%, 52.6%, 73.7%, 32.9%)
CIE-LABlab(45.27, 34.36, 37.73)
CIE-LCHlch(45.27, 51.03, 47.68°)
OKLaboklab(54.11% 0.0963 0.0848)
OKLCHoklch(54.11% 0.128 41.4)
XYZxyz(20.2126, 14.7348, 4.2618)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB512D #2D87AB
analogous
#AB2D48 #AB512D #AB902D
triadic
#AB512D #2DAB51 #512DAB
tetradic
#AB512D #48AB2D #2D87AB #902DAB
square
#AB512D #48AB2D #2D87AB #902DAB
split-complementary
#AB512D #2DAB90 #2D48AB
monochromatic
#4A2314 #7B3A20 #AB512D #CE6E47 #DB9477

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB512D#FFFFFF#000000##FFFFFF
##AB512D1.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)
#6A5F29
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#BC3E49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab512d;
/* rgb */ color: rgb(171, 81, 45);
/* oklch */ color: oklch(54.1% 0.128 41.4);
Tailwind
colors: {
  custom: {
    50: '#ca8468',
    500: '#ab512d',
    950: '#000000',
  },
}
SCSS
$custom: #ab512d;
$custom-light: #ca8468;
$custom-dark: #000000;
JSON
{
  "hex": "#ab512d",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 17.143,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.12829,
    "h": 41.4
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#AB512D
secondary
#71ACC3
accent
#B5E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB512D

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

Preview Lab → · Contrast checker → · Palette generator →

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