#AF4020#AF4020

#AF4020 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.152 H 36.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF4020
RGBrgb(175, 64, 32)
HSLhsl(13, 69%, 41%)
HSVhsv(13, 82%, 69%)
CMYKcmyk(0%, 63.4%, 81.7%, 31.4%)
CIE-LABlab(42.59, 43.72, 41.90)
CIE-LCHlch(42.59, 60.56, 43.79°)
OKLaboklab(52.17% 0.1223 0.09)
OKLCHoklch(52.17% 0.152 36.3)
XYZxyz(19.7755, 12.8879, 2.8125)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4020 #208FAF
analogous
#AF2047 #AF4020 #AF8820
triadic
#AF4020 #20AF40 #4020AF
tetradic
#AF4020 #47AF20 #208FAF #8820AF
square
#AF4020 #47AF20 #208FAF #8820AF
split-complementary
#AF4020 #20AF88 #2047AF
monochromatic
#481A0D #7B2D17 #AF4020 #DA5833 #E38266

Accessibility & contrast

On white

5.87
#AF4020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF4020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4020
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4020#FFFFFF#000000##FFFFFF
##AF40201.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551B
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#C1223A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4020;
/* rgb */ color: rgb(175, 64, 32);
/* oklch */ color: oklch(52.2% 0.152 36.3);
Tailwind
colors: {
  custom: {
    50: '#cf7a5e',
    500: '#af4020',
    950: '#000000',
  },
}
SCSS
$custom: #af4020;
$custom-light: #cf7a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4020",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 13.427,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.15186,
    "h": 36.3
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#AF4020
secondary
#62B2C8
accent
#C5EC3C
background
#FDF7F5
surface
#FBEEE9
border
#D4C9C5
text
#150904
muted
#837B79

Preview Lab

Preview with #AF4020

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

Preview Lab → · Contrast checker → · Palette generator →

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