#AB512B#AB512B

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

Color values

HEX#AB512B
RGBrgb(171, 81, 43)
HSLhsl(18, 60%, 42%)
HSVhsv(18, 75%, 67%)
CMYKcmyk(0%, 52.6%, 74.9%, 32.9%)
CIE-LABlab(45.25, 34.26, 38.76)
CIE-LCHlch(45.25, 51.73, 48.53°)
OKLaboklab(54.09% 0.0956 0.0866)
OKLCHoklch(54.09% 0.129 42.1)
XYZxyz(20.1750, 14.7197, 4.0638)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB512B #2B85AB
analogous
#AB2B45 #AB512B #AB912B
triadic
#AB512B #2BAB51 #512BAB
tetradic
#AB512B #45AB2B #2B85AB #912BAB
square
#AB512B #45AB2B #2B85AB #912BAB
split-complementary
#AB512B #2BAB91 #2B45AB
monochromatic
#492312 #7A3A1F #AB512B #D06D43 #DC9374

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB512B#FFFFFF#000000##FFFFFF
##AB512B1.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)
#6A5F27
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#BC3E49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab512b;
/* rgb */ color: rgb(171, 81, 43);
/* oklch */ color: oklch(54.1% 0.129 42.1);
Tailwind
colors: {
  custom: {
    50: '#ca8466',
    500: '#ab512b',
    950: '#000000',
  },
}
SCSS
$custom: #ab512b;
$custom-light: #ca8466;
$custom-dark: #000000;
JSON
{
  "hex": "#ab512b",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 17.812,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54086,
    "c": 0.12899,
    "h": 42.1
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#AB512B
secondary
#6EAAC4
accent
#B4E345
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AB512B

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

Preview Lab → · Contrast checker → · Palette generator →

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