#AF5A26#AF5A26

#AF5A26 is a mid, vivid orange. Relative luminance 0.166; OKLCH L 56.1% C 0.128 H 48.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF5A26
RGBrgb(175, 90, 38)
HSLhsl(23, 64%, 42%)
HSVhsv(23, 78%, 69%)
CMYKcmyk(0%, 48.6%, 78.3%, 31.4%)
CIE-LABlab(47.71, 30.91, 43.98)
CIE-LCHlch(47.71, 53.76, 54.90°)
OKLaboklab(56.08% 0.0843 0.0963)
OKLCHoklch(56.08% 0.128 48.8)
XYZxyz(21.6873, 16.5688, 3.8894)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5A26 #267BAF
analogous
#AF2636 #AF5A26 #AF9F26
triadic
#AF5A26 #26AF5A #5A26AF
tetradic
#AF5A26 #36AF26 #267BAF #9F26AF
square
#AF5A26 #36AF26 #267BAF #9F26AF
split-complementary
#AF5A26 #26AF9F #2636AF
monochromatic
#4A2610 #7D401B #AF5A26 #D5773D #E09A70

Accessibility & contrast

On white

4.87
#AF5A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF5A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5A26
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5A26#FFFFFF#000000##FFFFFF
##AF5A261.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651F
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#C0484F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5a26;
/* rgb */ color: rgb(175, 90, 38);
/* oklch */ color: oklch(56.1% 0.128 48.8);
Tailwind
colors: {
  custom: {
    50: '#cd8a64',
    500: '#af5a26',
    950: '#000000',
  },
}
SCSS
$custom: #af5a26;
$custom-light: #cd8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#af5a26",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 38
  },
  "hsl": {
    "h": 22.774,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.12797,
    "h": 48.8
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#AF5A26
secondary
#6AA4C7
accent
#A8E740
background
#FDF8F6
surface
#FBF0EB
border
#D4CBC6
text
#150C05
muted
#837D7A

Preview Lab

Preview with #AF5A26

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

Preview Lab → · Contrast checker → · Palette generator →

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