#AF4F40#AF4F40

#AF4F40 is a mid, vivid red. Relative luminance 0.151; OKLCH L 54.7% C 0.129 H 30.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF4F40
RGBrgb(175, 79, 64)
HSLhsl(8, 46%, 47%)
HSVhsv(8, 63%, 69%)
CMYKcmyk(0%, 54.9%, 63.4%, 31.4%)
CIE-LABlab(45.74, 38.06, 27.76)
CIE-LCHlch(45.74, 47.11, 36.10°)
OKLaboklab(54.67% 0.1108 0.0659)
OKLCHoklch(54.67% 0.129 30.7)
XYZxyz(21.4025, 15.0787, 6.6329)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F40 #40A0AF
analogous
#AF4069 #AF4F40 #AF8740
triadic
#AF4F40 #40AF4F #4F40AF
tetradic
#AF4F40 #69AF40 #40A0AF #8740AF
square
#AF4F40 #69AF40 #40A0AF #8740AF
split-complementary
#AF4F40 #40AF87 #4069AF
monochromatic
#55271F #823B30 #AF4F40 #C77365 #D79C92

Accessibility & contrast

On white

5.23
#AF4F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F40
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F40#FFFFFF#000000##FFFFFF
##AF4F401.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F3E
Deuteranopia (green-blind)
#7F743E
Tritanopia (blue-blind)
#BF3D4C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4f40;
/* rgb */ color: rgb(175, 79, 64);
/* oklch */ color: oklch(54.7% 0.129 30.7);
Tailwind
colors: {
  custom: {
    50: '#cc8375',
    500: '#af4f40',
    950: '#000000',
  },
}
SCSS
$custom: #af4f40;
$custom-light: #cc8375;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f40",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 64
  },
  "hsl": {
    "h": 8.108,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.12891,
    "h": 30.7
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#AF4F40
secondary
#88BBC3
accent
#C4D652
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AF4F40

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

Preview Lab → · Contrast checker → · Palette generator →

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