#AF4C2F#AF4C2F

#AF4C2F is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.0% C 0.137 H 37.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF4C2F
RGBrgb(175, 76, 47)
HSLhsl(14, 58%, 44%)
HSVhsv(14, 73%, 69%)
CMYKcmyk(0%, 56.6%, 73.1%, 31.4%)
CIE-LABlab(44.93, 38.58, 36.46)
CIE-LCHlch(44.93, 53.09, 43.38°)
OKLaboklab(53.98% 0.1092 0.0823)
OKLCHoklch(53.98% 0.137 37)
XYZxyz(20.7788, 14.4908, 4.3916)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4C2F #2F92AF
analogous
#AF2F52 #AF4C2F #AF8C2F
triadic
#AF4C2F #2FAF4C #4C2FAF
tetradic
#AF4C2F #52AF2F #2F92AF #8C2FAF
square
#AF4C2F #52AF2F #2F92AF #8C2FAF
split-complementary
#AF4C2F #2FAF8C #2F52AF
monochromatic
#4F2215 #7F3722 #AF4C2F #CF6A4C #DC927C

Accessibility & contrast

On white

5.39
#AF4C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF4C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4C2F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4C2F#FFFFFF#000000##FFFFFF
##AF4C2F1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2C
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#C03746
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4c2f;
/* rgb */ color: rgb(175, 76, 47);
/* oklch */ color: oklch(54.0% 0.137 37.0);
Tailwind
colors: {
  custom: {
    50: '#ce8169',
    500: '#af4c2f',
    950: '#000000',
  },
}
SCSS
$custom: #af4c2f;
$custom-light: #ce8169;
$custom-dark: #000000;
JSON
{
  "hex": "#af4c2f",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 13.594,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.13674,
    "h": 37
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#AF4C2F
secondary
#75B3C4
accent
#BEE147
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF4C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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