#AF5A2A#AF5A2A

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

Color values

HEX#AF5A2A
RGBrgb(175, 90, 42)
HSLhsl(22, 61%, 43%)
HSVhsv(22, 76%, 69%)
CMYKcmyk(0%, 48.6%, 76%, 31.4%)
CIE-LABlab(47.75, 31.08, 42.08)
CIE-LCHlch(47.75, 52.31, 53.55°)
OKLaboklab(56.11% 0.0854 0.0932)
OKLCHoklch(56.11% 0.126 47.5)
XYZxyz(21.7553, 16.5960, 4.2477)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5A2A #2A7FAF
analogous
#AF2A3D #AF5A2A #AF9C2A
triadic
#AF5A2A #2AAF5A #5A2AAF
tetradic
#AF5A2A #3DAF2A #2A7FAF #9C2AAF
square
#AF5A2A #3DAF2A #2A7FAF #9C2AAF
split-complementary
#AF5A2A #2AAF9C #2A3DAF
monochromatic
#4C2712 #7E411E #AF5A2A #D27744 #DE9B75

Accessibility & contrast

On white

4.86
#AF5A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF5A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5A2A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5A2A#FFFFFF#000000##FFFFFF
##AF5A2A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#C04850
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5a2a;
/* rgb */ color: rgb(175, 90, 42);
/* oklch */ color: oklch(56.1% 0.126 47.5);
Tailwind
colors: {
  custom: {
    50: '#cd8a66',
    500: '#af5a2a',
    950: '#000000',
  },
}
SCSS
$custom: #af5a2a;
$custom-light: #cd8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#af5a2a",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 21.654,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.12644,
    "h": 47.5
  },
  "luminance": 0.16593
}

Semantic roles & 50–950 ramp

primary
#AF5A2A
secondary
#6FA6C6
accent
#AAE443
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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