#AF582A#AF582A

#AF582A is a mid, vivid orange. Relative luminance 0.163; OKLCH L 55.8% C 0.128 H 46.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF582A
RGBrgb(175, 88, 42)
HSLhsl(21, 61%, 43%)
HSVhsv(21, 76%, 69%)
CMYKcmyk(0%, 49.7%, 76%, 31.4%)
CIE-LABlab(47.32, 32.15, 41.63)
CIE-LCHlch(47.32, 52.60, 52.33°)
OKLaboklab(55.79% 0.0887 0.0923)
OKLCHoklch(55.79% 0.128 46.1)
XYZxyz(21.5889, 16.2632, 4.1923)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF582A #2A81AF
analogous
#AF2A3E #AF582A #AF9A2A
triadic
#AF582A #2AAF58 #582AAF
tetradic
#AF582A #3EAF2A #2A81AF #9A2AAF
square
#AF582A #3EAF2A #2A81AF #9A2AAF
split-complementary
#AF582A #2AAF9A #2A3EAF
monochromatic
#4C2612 #7E3F1E #AF582A #D27544 #DE9A75

Accessibility & contrast

On white

4.94
#AF582A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF582A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF582A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF582A#FFFFFF#000000##FFFFFF
##AF582A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706424
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#C0464E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af582a;
/* rgb */ color: rgb(175, 88, 42);
/* oklch */ color: oklch(55.8% 0.128 46.1);
Tailwind
colors: {
  custom: {
    50: '#cd8966',
    500: '#af582a',
    950: '#000000',
  },
}
SCSS
$custom: #af582a;
$custom-light: #cd8966;
$custom-dark: #000000;
JSON
{
  "hex": "#af582a",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 42
  },
  "hsl": {
    "h": 20.752,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.12796,
    "h": 46.1
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#AF582A
secondary
#6FA8C6
accent
#ADE443
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF582A

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

Preview Lab → · Contrast checker → · Palette generator →

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