#AB512F#AB512F

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

Color values

HEX#AB512F
RGBrgb(171, 81, 47)
HSLhsl(16, 57%, 43%)
HSVhsv(16, 73%, 67%)
CMYKcmyk(0%, 52.6%, 72.5%, 32.9%)
CIE-LABlab(45.29, 34.46, 36.68)
CIE-LCHlch(45.29, 50.33, 46.79°)
OKLaboklab(54.13% 0.097 0.083)
OKLCHoklch(54.13% 0.128 40.6)
XYZxyz(20.2520, 14.7505, 4.4694)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB512F #2F89AB
analogous
#AB2F4B #AB512F #AB8F2F
triadic
#AB512F #2FAB51 #512FAB
tetradic
#AB512F #4BAB2F #2F89AB #8F2FAB
square
#AB512F #4BAB2F #2F89AB #8F2FAB
split-complementary
#AB512F #2FAB8F #2F4BAB
monochromatic
#4B2415 #7B3A22 #AB512F #CD6E4A #DA947A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB512F#FFFFFF#000000##FFFFFF
##AB512F1.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)
#6A5F2B
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#BB3E49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab512f;
/* rgb */ color: rgb(171, 81, 47);
/* oklch */ color: oklch(54.1% 0.128 40.6);
Tailwind
colors: {
  custom: {
    50: '#ca8469',
    500: '#ab512f',
    950: '#000000',
  },
}
SCSS
$custom: #ab512f;
$custom-light: #ca8469;
$custom-dark: #000000;
JSON
{
  "hex": "#ab512f",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 16.452,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.12759,
    "h": 40.6
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#AB512F
secondary
#73ADC3
accent
#B6E048
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB512F

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

Preview Lab → · Contrast checker → · Palette generator →

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