#AF403F#AF403F

#AF403F is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.6% C 0.146 H 24.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF403F
RGBrgb(175, 64, 63)
HSLhsl(1, 47%, 47%)
HSVhsv(1, 64%, 69%)
CMYKcmyk(0%, 63.4%, 64%, 31.4%)
CIE-LABlab(42.98, 45.21, 24.89)
CIE-LCHlch(42.98, 51.61, 28.84°)
OKLaboklab(52.58% 0.133 0.0593)
OKLCHoklch(52.58% 0.146 24)
XYZxyz(20.4118, 13.1424, 6.1636)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF403F #3FAEAF
analogous
#AF3F76 #AF403F #AF783F
triadic
#AF403F #3FAF40 #403FAF
tetradic
#AF403F #76AF3F #3FAEAF #783FAF
square
#AF403F #76AF3F #3FAEAF #783FAF
split-complementary
#AF403F #3FAF78 #3F76AF
monochromatic
#551F1F #82302F #AF403F #C76564 #D79291

Accessibility & contrast

On white

5.79
#AF403F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF403F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF403F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF403F#FFFFFF#000000##FFFFFF
##AF403F1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#796E3C
Tritanopia (blue-blind)
#C02841
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af403f;
/* rgb */ color: rgb(175, 64, 63);
/* oklch */ color: oklch(52.6% 0.146 24.0);
Tailwind
colors: {
  custom: {
    50: '#cd7a74',
    500: '#af403f',
    950: '#000000',
  },
}
SCSS
$custom: #af403f;
$custom-light: #cd7a74;
$custom-dark: #000000;
JSON
{
  "hex": "#af403f",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 63
  },
  "hsl": {
    "h": 0.536,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.14564,
    "h": 24
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#AF403F
secondary
#87C2C3
accent
#D5D751
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF403F

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

Preview Lab → · Contrast checker → · Palette generator →

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