#AF4A2F#AF4A2F

#AF4A2F is a mid, vivid red. Relative luminance 0.142; OKLCH L 53.7% C 0.139 H 35.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF4A2F
RGBrgb(175, 74, 47)
HSLhsl(13, 58%, 44%)
HSVhsv(13, 73%, 69%)
CMYKcmyk(0%, 57.7%, 73.1%, 31.4%)
CIE-LABlab(44.55, 39.57, 36.04)
CIE-LCHlch(44.55, 53.52, 42.32°)
OKLaboklab(53.69% 0.1123 0.0814)
OKLCHoklch(53.69% 0.139 35.9)
XYZxyz(20.6431, 14.2195, 4.3464)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A2F #2F94AF
analogous
#AF2F54 #AF4A2F #AF8A2F
triadic
#AF4A2F #2FAF4A #4A2FAF
tetradic
#AF4A2F #54AF2F #2F94AF #8A2FAF
square
#AF4A2F #54AF2F #2F94AF #8A2FAF
split-complementary
#AF4A2F #2FAF8A #2F54AF
monochromatic
#4F2115 #7F3622 #AF4A2F #CF684C #DC917C

Accessibility & contrast

On white

5.46
#AF4A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF4A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A2F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A2F#FFFFFF#000000##FFFFFF
##AF4A2F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B2C
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#C03444
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4a2f;
/* rgb */ color: rgb(175, 74, 47);
/* oklch */ color: oklch(53.7% 0.139 35.9);
Tailwind
colors: {
  custom: {
    50: '#ce8069',
    500: '#af4a2f',
    950: '#000000',
  },
}
SCSS
$custom: #af4a2f;
$custom-light: #ce8069;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a2f",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 12.656,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.13866,
    "h": 35.9
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

primary
#AF4A2F
secondary
#75B4C4
accent
#C0E147
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF4A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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