#AB512C#AB512C

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

Color values

HEX#AB512C
RGBrgb(171, 81, 44)
HSLhsl(17, 59%, 42%)
HSVhsv(17, 74%, 67%)
CMYKcmyk(0%, 52.6%, 74.3%, 32.9%)
CIE-LABlab(45.26, 34.31, 38.25)
CIE-LCHlch(45.26, 51.38, 48.11°)
OKLaboklab(54.1% 0.0959 0.0857)
OKLCHoklch(54.1% 0.129 41.8)
XYZxyz(20.1936, 14.7271, 4.1616)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB512C #2C86AB
analogous
#AB2C47 #AB512C #AB902C
triadic
#AB512C #2CAB51 #512CAB
tetradic
#AB512C #47AB2C #2C86AB #902CAB
square
#AB512C #47AB2C #2C86AB #902CAB
split-complementary
#AB512C #2CAB90 #2C47AB
monochromatic
#4A2313 #7A3A1F #AB512C #CF6D45 #DC9376

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB512C#FFFFFF#000000##FFFFFF
##AB512C1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab512c;
/* rgb */ color: rgb(171, 81, 44);
/* oklch */ color: oklch(54.1% 0.129 41.8);
Tailwind
colors: {
  custom: {
    50: '#ca8467',
    500: '#ab512c',
    950: '#000000',
  },
}
SCSS
$custom: #ab512c;
$custom-light: #ca8467;
$custom-dark: #000000;
JSON
{
  "hex": "#ab512c",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 17.48,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.12864,
    "h": 41.8
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#AB512C
secondary
#6FABC3
accent
#B5E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AB512C

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

Preview Lab → · Contrast checker → · Palette generator →

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