#AF401F#AF401F

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

Color values

HEX#AF401F
RGBrgb(175, 64, 31)
HSLhsl(14, 70%, 40%)
HSVhsv(14, 82%, 69%)
CMYKcmyk(0%, 63.4%, 82.3%, 31.4%)
CIE-LABlab(42.59, 43.69, 42.39)
CIE-LCHlch(42.59, 60.87, 44.13°)
OKLaboklab(52.16% 0.122 0.0907)
OKLCHoklch(52.16% 0.152 36.6)
XYZxyz(19.7621, 12.8825, 2.7420)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF401F #1F8EAF
analogous
#AF1F46 #AF401F #AF881F
triadic
#AF401F #1FAF40 #401FAF
tetradic
#AF401F #46AF1F #1F8EAF #881FAF
square
#AF401F #46AF1F #1F8EAF #881FAF
split-complementary
#AF401F #1FAF88 #1F46AF
monochromatic
#471A0D #7B2D16 #AF401F #DA5831 #E48265

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF401F#FFFFFF#000000##FFFFFF
##AF401F1.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)
#60551A
Deuteranopia (green-blind)
#7B6E1A
Tritanopia (blue-blind)
#C1223A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af401f;
/* rgb */ color: rgb(175, 64, 31);
/* oklch */ color: oklch(52.2% 0.152 36.6);
Tailwind
colors: {
  custom: {
    50: '#cf7a5e',
    500: '#af401f',
    950: '#000000',
  },
}
SCSS
$custom: #af401f;
$custom-light: #cf7a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af401f",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 13.75,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.15208,
    "h": 36.6
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#AF401F
secondary
#61B1C9
accent
#C4ED3B
background
#FDF7F5
surface
#FBEEE9
border
#D4C9C5
text
#150904
muted
#837B79

Preview Lab

Preview with #AF401F

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

Preview Lab → · Contrast checker → · Palette generator →

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