#AF401C#AF401C

#AF401C is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.1% C 0.153 H 37.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF401C
RGBrgb(175, 64, 28)
HSLhsl(15, 72%, 40%)
HSVhsv(15, 84%, 69%)
CMYKcmyk(0%, 63.4%, 84%, 31.4%)
CIE-LABlab(42.56, 43.60, 43.80)
CIE-LCHlch(42.56, 61.80, 45.13°)
OKLaboklab(52.14% 0.1213 0.0928)
OKLCHoklch(52.14% 0.153 37.4)
XYZxyz(19.7244, 12.8674, 2.5434)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF401C #1C8BAF
analogous
#AF1C41 #AF401C #AF8A1C
triadic
#AF401C #1CAF40 #401CAF
tetradic
#AF401C #41AF1C #1C8BAF #8A1CAF
square
#AF401C #41AF1C #1C8BAF #8A1CAF
split-complementary
#AF401C #1CAF8A #1C41AF
monochromatic
#45190B #7A2D14 #AF401C #DD572B #E68160

Accessibility & contrast

On white

5.88
#AF401C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF401C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF401C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF401C#FFFFFF#000000##FFFFFF
##AF401C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605516
Deuteranopia (green-blind)
#7B6E17
Tritanopia (blue-blind)
#C12239
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af401c;
/* rgb */ color: rgb(175, 64, 28);
/* oklch */ color: oklch(52.1% 0.153 37.4);
Tailwind
colors: {
  custom: {
    50: '#cf7a5c',
    500: '#af401c',
    950: '#000000',
  },
}
SCSS
$custom: #af401c;
$custom-light: #cf7a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#af401c",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 14.694,
    "s": 72.414,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.15271,
    "h": 37.4
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#AF401C
secondary
#5DAFCA
accent
#C2EF39
background
#FDF7F5
surface
#FBEEE9
border
#D4C9C5
text
#150904
muted
#837B79

Preview Lab

Preview with #AF401C

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

Preview Lab → · Contrast checker → · Palette generator →

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