#AF403A#AF403A

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

Color values

HEX#AF403A
RGBrgb(175, 64, 58)
HSLhsl(3, 50%, 46%)
HSVhsv(3, 67%, 69%)
CMYKcmyk(0%, 63.4%, 66.9%, 31.4%)
CIE-LABlab(42.90, 44.90, 27.79)
CIE-LCHlch(42.90, 52.81, 31.75°)
OKLaboklab(52.5% 0.1311 0.0652)
OKLCHoklch(52.5% 0.146 26.5)
XYZxyz(20.2783, 13.0890, 5.4608)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF403A #3AA9AF
analogous
#AF3A6E #AF403A #AF7A3A
triadic
#AF403A #3AAF40 #403AAF
tetradic
#AF403A #6EAF3A #3AA9AF #7A3AAF
square
#AF403A #6EAF3A #3AA9AF #7A3AAF
split-complementary
#AF403A #3AAF7A #3A6EAF
monochromatic
#531E1C #812F2B #AF403A #C9625D #D98F8B

Accessibility & contrast

On white

5.81
#AF403A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF403A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF403A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF403A#FFFFFF#000000##FFFFFF
##AF403A1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5639
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#C0273F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af403a;
/* rgb */ color: rgb(175, 64, 58);
/* oklch */ color: oklch(52.5% 0.146 26.5);
Tailwind
colors: {
  custom: {
    50: '#ce7a70',
    500: '#af403a',
    950: '#000000',
  },
}
SCSS
$custom: #af403a;
$custom-light: #ce7a70;
$custom-dark: #000000;
JSON
{
  "hex": "#af403a",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 58
  },
  "hsl": {
    "h": 3.077,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.14639,
    "h": 26.5
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#AF403A
secondary
#82C0C3
accent
#D3DA4E
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF403A

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

Preview Lab → · Contrast checker → · Palette generator →

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