#AF3222#AF3222

#AF3222 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.164 H 30.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF3222
RGBrgb(175, 50, 34)
HSLhsl(7, 67%, 41%)
HSVhsv(7, 81%, 69%)
CMYKcmyk(0%, 71.4%, 80.6%, 31.4%)
CIE-LABlab(40.43, 49.68, 38.77)
CIE-LCHlch(40.43, 63.01, 37.97°)
OKLaboklab(50.55% 0.1411 0.0838)
OKLCHoklch(50.55% 0.164 30.7)
XYZxyz(19.1108, 11.5136, 2.7291)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3222 #229FAF
analogous
#AF2258 #AF3222 #AF7822
triadic
#AF3222 #22AF32 #3222AF
tetradic
#AF3222 #58AF22 #229FAF #7822AF
square
#AF3222 #58AF22 #229FAF #7822AF
split-complementary
#AF3222 #22AF78 #2258AF
monochromatic
#49150E #7C2318 #AF3222 #D84936 #E27769

Accessibility & contrast

On white

6.36
#AF3222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF3222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3222
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3222#FFFFFF#000000##FFFFFF
##AF32221.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E1F
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3222;
/* rgb */ color: rgb(175, 50, 34);
/* oklch */ color: oklch(50.6% 0.164 30.7);
Tailwind
colors: {
  custom: {
    50: '#d0725f',
    500: '#af3222',
    950: '#000000',
  },
}
SCSS
$custom: #af3222;
$custom-light: #d0725f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3222",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 34
  },
  "hsl": {
    "h": 6.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.16414,
    "h": 30.7
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#AF3222
secondary
#65BDC8
accent
#D7EA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF3222

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

Preview Lab → · Contrast checker → · Palette generator →

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