#AB5127#AB5127

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

Color values

HEX#AB5127
RGBrgb(171, 81, 39)
HSLhsl(19, 63%, 41%)
HSVhsv(19, 77%, 67%)
CMYKcmyk(0%, 52.6%, 77.2%, 32.9%)
CIE-LABlab(45.21, 34.08, 40.78)
CIE-LCHlch(45.21, 53.14, 50.11°)
OKLaboklab(54.04% 0.0944 0.0899)
OKLCHoklch(54.04% 0.13 43.6)
XYZxyz(20.1052, 14.6918, 3.6961)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5127 #2781AB
analogous
#AB273F #AB5127 #AB9327
triadic
#AB5127 #27AB51 #5127AB
tetradic
#AB5127 #3FAB27 #2781AB #9327AB
square
#AB5127 #3FAB27 #2781AB #9327AB
split-complementary
#AB5127 #27AB93 #273FAB
monochromatic
#472210 #79391C #AB5127 #D36C3D #DE926E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5127#FFFFFF#000000##FFFFFF
##AB51271.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)
#6A5F22
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#BC3E48
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab5127;
/* rgb */ color: rgb(171, 81, 39);
/* oklch */ color: oklch(54.0% 0.130 43.6);
Tailwind
colors: {
  custom: {
    50: '#cb8464',
    500: '#ab5127',
    950: '#000000',
  },
}
SCSS
$custom: #ab5127;
$custom-light: #cb8464;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5127",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 19.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.13037,
    "h": 43.6
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#AB5127
secondary
#69A8C5
accent
#B2E642
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B05
muted
#837C7A

Preview Lab

Preview with #AB5127

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

Preview Lab → · Contrast checker → · Palette generator →

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