#AB5F2D#AB5F2D

#AB5F2D is a mid, moderate orange. Relative luminance 0.170; OKLCH L 56.4% C 0.118 H 51.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB5F2D
RGBrgb(171, 95, 45)
HSLhsl(24, 58%, 42%)
HSVhsv(24, 74%, 67%)
CMYKcmyk(0%, 44.4%, 73.7%, 32.9%)
CIE-LABlab(48.30, 26.83, 40.98)
CIE-LCHlch(48.30, 48.99, 56.79°)
OKLaboklab(56.43% 0.0734 0.0918)
OKLCHoklch(56.43% 0.118 51.3)
XYZxyz(21.3623, 17.0342, 4.6450)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5F2D #2D79AB
analogous
#AB2D3A #AB5F2D #AB9E2D
triadic
#AB5F2D #2DAB5F #5F2DAB
tetradic
#AB5F2D #3AAB2D #2D79AB #9E2DAB
square
#AB5F2D #3AAB2D #2D79AB #9E2DAB
split-complementary
#AB5F2D #2DAB9E #2D3AAB
monochromatic
#4A2914 #7B4420 #AB5F2D #CE7D47 #DB9F77

Accessibility & contrast

On white

4.77
#AB5F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB5F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5F2D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5F2D#FFFFFF#000000##FFFFFF
##AB5F2D1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756827
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#BB4F54
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5f2d;
/* rgb */ color: rgb(171, 95, 45);
/* oklch */ color: oklch(56.4% 0.118 51.3);
Tailwind
colors: {
  custom: {
    50: '#ca8d68',
    500: '#ab5f2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab5f2d;
$custom-light: #ca8d68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5f2d",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 23.81,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.11754,
    "h": 51.3
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#AB5F2D
secondary
#71A2C3
accent
#A4E246
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#140C06
muted
#837D7A

Preview Lab

Preview with #AB5F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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