#AB421F#AB421F

#AB421F is a mid, vivid orange. Relative luminance 0.127; OKLCH L 51.8% C 0.146 H 38.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB421F
RGBrgb(171, 66, 31)
HSLhsl(15, 69%, 40%)
HSVhsv(15, 82%, 67%)
CMYKcmyk(0%, 61.4%, 81.9%, 32.9%)
CIE-LABlab(42.24, 41.28, 41.81)
CIE-LCHlch(42.24, 58.76, 45.37°)
OKLaboklab(51.77% 0.115 0.0898)
OKLCHoklch(51.77% 0.146 38)
XYZxyz(18.9922, 12.6560, 2.7388)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB421F #1F88AB
analogous
#AB1F42 #AB421F #AB881F
triadic
#AB421F #1FAB42 #421FAB
tetradic
#AB421F #42AB1F #1F88AB #881FAB
square
#AB421F #42AB1F #1F88AB #881FAB
split-complementary
#AB421F #1FAB88 #1F42AB
monochromatic
#431A0C #772E16 #AB421F #D9592E #E38262

Accessibility & contrast

On white

5.95
#AB421F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB421F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB421F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB421F#FFFFFF#000000##FFFFFF
##AB421F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#7A6C1B
Tritanopia (blue-blind)
#BC283B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab421f;
/* rgb */ color: rgb(171, 66, 31);
/* oklch */ color: oklch(51.8% 0.146 38.0);
Tailwind
colors: {
  custom: {
    50: '#cc7a5e',
    500: '#ab421f',
    950: '#000000',
  },
}
SCSS
$custom: #ab421f;
$custom-light: #cc7a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab421f",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 15,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.14594,
    "h": 38
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#AB421F
secondary
#5EADC7
accent
#C0EC3C
background
#FDF7F5
surface
#FBEEE9
border
#D4C9C5
text
#150904
muted
#837B79

Preview Lab

Preview with #AB421F

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

Preview Lab → · Contrast checker → · Palette generator →

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