#AF3822#AF3822

#AF3822 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.2% C 0.159 H 32.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF3822
RGBrgb(175, 56, 34)
HSLhsl(9, 67%, 41%)
HSVhsv(9, 81%, 69%)
CMYKcmyk(0%, 68%, 80.6%, 31.4%)
CIE-LABlab(41.31, 47.28, 39.64)
CIE-LCHlch(41.31, 61.69, 39.98°)
OKLaboklab(51.21% 0.1337 0.0857)
OKLCHoklch(51.21% 0.159 32.7)
XYZxyz(19.3843, 12.0607, 2.8203)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3822 #2299AF
analogous
#AF2252 #AF3822 #AF7E22
triadic
#AF3822 #22AF38 #3822AF
tetradic
#AF3822 #52AF22 #2299AF #7E22AF
square
#AF3822 #52AF22 #2299AF #7E22AF
split-complementary
#AF3822 #22AF7E #2252AF
monochromatic
#49170E #7C2818 #AF3822 #D84F36 #E27C69

Accessibility & contrast

On white

6.16
#AF3822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF3822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3822
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3822#FFFFFF#000000##FFFFFF
##AF38221.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#C11134
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3822;
/* rgb */ color: rgb(175, 56, 34);
/* oklch */ color: oklch(51.2% 0.159 32.7);
Tailwind
colors: {
  custom: {
    50: '#cf755f',
    500: '#af3822',
    950: '#000000',
  },
}
SCSS
$custom: #af3822;
$custom-light: #cf755f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3822",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 34
  },
  "hsl": {
    "h": 9.362,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.15878,
    "h": 32.7
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#AF3822
secondary
#65B8C8
accent
#CFEA3D
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150905
muted
#837B79

Preview Lab

Preview with #AF3822

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

Preview Lab → · Contrast checker → · Palette generator →

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