#AF4D2F#AF4D2F

#AF4D2F is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.1% C 0.136 H 37.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF4D2F
RGBrgb(175, 77, 47)
HSLhsl(14, 58%, 44%)
HSVhsv(14, 73%, 69%)
CMYKcmyk(0%, 56%, 73.1%, 31.4%)
CIE-LABlab(45.12, 38.08, 36.68)
CIE-LCHlch(45.12, 52.87, 43.92°)
OKLaboklab(54.13% 0.1077 0.0827)
OKLCHoklch(54.13% 0.136 37.5)
XYZxyz(20.8482, 14.6296, 4.4147)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D2F #2F91AF
analogous
#AF2F51 #AF4D2F #AF8D2F
triadic
#AF4D2F #2FAF4D #4D2FAF
tetradic
#AF4D2F #51AF2F #2F91AF #8D2FAF
square
#AF4D2F #51AF2F #2F91AF #8D2FAF
split-complementary
#AF4D2F #2FAF8D #2F51AF
monochromatic
#4F2315 #7F3822 #AF4D2F #CF6B4C #DC937C

Accessibility & contrast

On white

5.35
#AF4D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF4D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D2F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D2F#FFFFFF#000000##FFFFFF
##AF4D2F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D2B
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#C03846
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4d2f;
/* rgb */ color: rgb(175, 77, 47);
/* oklch */ color: oklch(54.1% 0.136 37.5);
Tailwind
colors: {
  custom: {
    50: '#ce8269',
    500: '#af4d2f',
    950: '#000000',
  },
}
SCSS
$custom: #af4d2f;
$custom-light: #ce8269;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d2f",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 47
  },
  "hsl": {
    "h": 14.062,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.13579,
    "h": 37.5
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#AF4D2F
secondary
#75B2C4
accent
#BDE147
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF4D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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