#AF4222#AF4222

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

Color values

HEX#AF4222
RGBrgb(175, 66, 34)
HSLhsl(14, 67%, 41%)
HSVhsv(14, 81%, 69%)
CMYKcmyk(0%, 62.3%, 80.6%, 31.4%)
CIE-LABlab(42.96, 42.87, 41.25)
CIE-LCHlch(42.96, 59.49, 43.90°)
OKLaboklab(52.45% 0.12 0.0892)
OKLCHoklch(52.45% 0.15 36.6)
XYZxyz(19.9183, 13.1287, 2.9983)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4222 #228FAF
analogous
#AF2248 #AF4222 #AF8822
triadic
#AF4222 #22AF42 #4222AF
tetradic
#AF4222 #48AF22 #228FAF #8822AF
square
#AF4222 #48AF22 #228FAF #8822AF
split-complementary
#AF4222 #22AF88 #2248AF
monochromatic
#491B0E #7C2F18 #AF4222 #D85B36 #E28569

Accessibility & contrast

On white

5.79
#AF4222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF4222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4222
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4222#FFFFFF#000000##FFFFFF
##AF42221.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561D
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#C1263C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4222;
/* rgb */ color: rgb(175, 66, 34);
/* oklch */ color: oklch(52.4% 0.150 36.6);
Tailwind
colors: {
  custom: {
    50: '#cf7b60',
    500: '#af4222',
    950: '#000000',
  },
}
SCSS
$custom: #af4222;
$custom-light: #cf7b60;
$custom-dark: #000000;
JSON
{
  "hex": "#af4222",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 13.617,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.14957,
    "h": 36.6
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#AF4222
secondary
#65B1C8
accent
#C3EA3D
background
#FDF7F5
surface
#FBEEE9
border
#D4C9C5
text
#150A05
muted
#837C79

Preview Lab

Preview with #AF4222

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

Preview Lab → · Contrast checker → · Palette generator →

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