#AF403E#AF403E

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

Color values

HEX#AF403E
RGBrgb(175, 64, 62)
HSLhsl(1, 48%, 46%)
HSVhsv(1, 65%, 69%)
CMYKcmyk(0%, 63.4%, 64.6%, 31.4%)
CIE-LABlab(42.96, 45.15, 25.47)
CIE-LCHlch(42.96, 51.84, 29.43°)
OKLaboklab(52.56% 0.1326 0.0605)
OKLCHoklch(52.56% 0.146 24.5)
XYZxyz(20.3841, 13.1313, 6.0177)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF403E #3EADAF
analogous
#AF3E75 #AF403E #AF793E
triadic
#AF403E #3EAF40 #403EAF
tetradic
#AF403E #75AF3E #3EADAF #793EAF
square
#AF403E #75AF3E #3EADAF #793EAF
split-complementary
#AF403E #3EAF79 #3E75AF
monochromatic
#551F1E #822F2E #AF403E #C86463 #D89190

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF403E#FFFFFF#000000##FFFFFF
##AF403E1.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)
#5D563D
Deuteranopia (green-blind)
#796E3B
Tritanopia (blue-blind)
#C02841
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af403e;
/* rgb */ color: rgb(175, 64, 62);
/* oklch */ color: oklch(52.6% 0.146 24.5);
Tailwind
colors: {
  custom: {
    50: '#cd7a73',
    500: '#af403e',
    950: '#000000',
  },
}
SCSS
$custom: #af403e;
$custom-light: #cd7a73;
$custom-dark: #000000;
JSON
{
  "hex": "#af403e",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 62
  },
  "hsl": {
    "h": 1.062,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.14578,
    "h": 24.5
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF403E

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

Preview Lab → · Contrast checker → · Palette generator →

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