#AF421F#AF421F

#AF421F is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.4% C 0.150 H 37.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF421F
RGBrgb(175, 66, 31)
HSLhsl(15, 70%, 40%)
HSVhsv(15, 82%, 69%)
CMYKcmyk(0%, 62.3%, 82.3%, 31.4%)
CIE-LABlab(42.93, 42.77, 42.71)
CIE-LCHlch(42.93, 60.44, 44.96°)
OKLaboklab(52.42% 0.1192 0.0915)
OKLCHoklch(52.42% 0.15 37.5)
XYZxyz(19.8769, 13.1121, 2.7803)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF421F #1F8CAF
analogous
#AF1F44 #AF421F #AF8A1F
triadic
#AF421F #1FAF42 #421FAF
tetradic
#AF421F #44AF1F #1F8CAF #8A1FAF
square
#AF421F #44AF1F #1F8CAF #8A1FAF
split-complementary
#AF421F #1FAF8A #1F44AF
monochromatic
#471B0D #7B2E16 #AF421F #DA5A31 #E48465

Accessibility & contrast

On white

5.80
#AF421F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF421F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF421F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF421F#FFFFFF#000000##FFFFFF
##AF421F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561A
Deuteranopia (green-blind)
#7C6E1A
Tritanopia (blue-blind)
#C1263B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af421f;
/* rgb */ color: rgb(175, 66, 31);
/* oklch */ color: oklch(52.4% 0.150 37.5);
Tailwind
colors: {
  custom: {
    50: '#cf7b5e',
    500: '#af421f',
    950: '#000000',
  },
}
SCSS
$custom: #af421f;
$custom-light: #cf7b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af421f",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 14.583,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.15025,
    "h": 37.5
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#AF421F
secondary
#61B0C9
accent
#C2ED3B
background
#FDF7F5
surface
#FBEEE9
border
#D4C9C5
text
#150A04
muted
#837C79

Preview Lab

Preview with #AF421F

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

Preview Lab → · Contrast checker → · Palette generator →

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