#AF3226#AF3226

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

Color values

HEX#AF3226
RGBrgb(175, 50, 38)
HSLhsl(5, 64%, 42%)
HSVhsv(5, 78%, 69%)
CMYKcmyk(0%, 71.4%, 78.3%, 31.4%)
CIE-LABlab(40.47, 49.82, 36.62)
CIE-LCHlch(40.47, 61.83, 36.32°)
OKLaboklab(50.59% 0.1424 0.0804)
OKLCHoklch(50.59% 0.163 29.4)
XYZxyz(19.1719, 11.5380, 3.0509)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3226 #26A3AF
analogous
#AF265F #AF3226 #AF7626
triadic
#AF3226 #26AF32 #3226AF
tetradic
#AF3226 #5FAF26 #26A3AF #7626AF
square
#AF3226 #5FAF26 #26A3AF #7626AF
split-complementary
#AF3226 #26AF76 #265FAF
monochromatic
#4A1510 #7D241B #AF3226 #D54B3D #E07970

Accessibility & contrast

On white

6.35
#AF3226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF3226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3226
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3226#FFFFFF#000000##FFFFFF
##AF32261.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E23
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3226;
/* rgb */ color: rgb(175, 50, 38);
/* oklch */ color: oklch(50.6% 0.163 29.4);
Tailwind
colors: {
  custom: {
    50: '#cf7261',
    500: '#af3226',
    950: '#000000',
  },
}
SCSS
$custom: #af3226;
$custom-light: #cf7261;
$custom-dark: #000000;
JSON
{
  "hex": "#af3226",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 38
  },
  "hsl": {
    "h": 5.255,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.16348,
    "h": 29.4
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#AF3226
secondary
#6ABFC7
accent
#D9E740
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF3226

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

Preview Lab → · Contrast checker → · Palette generator →

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