#AF403D#AF403D

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

Color values

HEX#AF403D
RGBrgb(175, 64, 61)
HSLhsl(2, 48%, 46%)
HSVhsv(2, 65%, 69%)
CMYKcmyk(0%, 63.4%, 65.1%, 31.4%)
CIE-LABlab(42.94, 45.08, 26.05)
CIE-LCHlch(42.94, 52.07, 30.02°)
OKLaboklab(52.54% 0.1322 0.0617)
OKLCHoklch(52.54% 0.146 25)
XYZxyz(20.3569, 13.1204, 5.8745)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF403D #3DACAF
analogous
#AF3D73 #AF403D #AF793D
triadic
#AF403D #3DAF40 #403DAF
tetradic
#AF403D #73AF3D #3DACAF #793DAF
square
#AF403D #73AF3D #3DACAF #793DAF
split-complementary
#AF403D #3DAF79 #3D73AF
monochromatic
#541F1D #822F2D #AF403D #C86461 #D8918F

Accessibility & contrast

On white

5.80
#AF403D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF403D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF403D#FFFFFF#000000##FFFFFF
##AF403D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D563C
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#C02840
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af403d;
/* rgb */ color: rgb(175, 64, 61);
/* oklch */ color: oklch(52.5% 0.146 25.0);
Tailwind
colors: {
  custom: {
    50: '#cd7a72',
    500: '#af403d',
    950: '#000000',
  },
}
SCSS
$custom: #af403d;
$custom-light: #cd7a72;
$custom-dark: #000000;
JSON
{
  "hex": "#af403d",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 61
  },
  "hsl": {
    "h": 1.579,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.14593,
    "h": 25
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#AF403D
secondary
#85C1C3
accent
#D4D850
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF403D

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

Preview Lab → · Contrast checker → · Palette generator →

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