#AF4226#AF4226

#AF4226 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.5% C 0.149 H 35.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF4226
RGBrgb(175, 66, 38)
HSLhsl(12, 64%, 42%)
HSVhsv(12, 78%, 69%)
CMYKcmyk(0%, 62.3%, 78.3%, 31.4%)
CIE-LABlab(42.99, 43.01, 39.23)
CIE-LCHlch(42.99, 58.22, 42.37°)
OKLaboklab(52.49% 0.1212 0.086)
OKLCHoklch(52.49% 0.149 35.4)
XYZxyz(19.9794, 13.1531, 3.3201)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4226 #2693AF
analogous
#AF264F #AF4226 #AF8726
triadic
#AF4226 #26AF42 #4226AF
tetradic
#AF4226 #4FAF26 #2693AF #8726AF
square
#AF4226 #4FAF26 #2693AF #8726AF
split-complementary
#AF4226 #26AF87 #264FAF
monochromatic
#4A1C10 #7D2F1B #AF4226 #D55C3D #E08770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4226#FFFFFF#000000##FFFFFF
##AF42261.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)
#615622
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#C1273C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4226;
/* rgb */ color: rgb(175, 66, 38);
/* oklch */ color: oklch(52.5% 0.149 35.4);
Tailwind
colors: {
  custom: {
    50: '#cf7b62',
    500: '#af4226',
    950: '#000000',
  },
}
SCSS
$custom: #af4226;
$custom-light: #cf7b62;
$custom-dark: #000000;
JSON
{
  "hex": "#af4226",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 38
  },
  "hsl": {
    "h": 12.263,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.14864,
    "h": 35.4
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#AF4226
secondary
#6AB4C7
accent
#C5E740
background
#FDF7F5
surface
#FBEEEA
border
#D4C9C6
text
#150A05
muted
#837C79

Preview Lab

Preview with #AF4226

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

Preview Lab → · Contrast checker → · Palette generator →

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