#AF403B#AF403B

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

Color values

HEX#AF403B
RGBrgb(175, 64, 59)
HSLhsl(3, 50%, 46%)
HSVhsv(3, 66%, 69%)
CMYKcmyk(0%, 63.4%, 66.3%, 31.4%)
CIE-LABlab(42.91, 44.96, 27.21)
CIE-LCHlch(42.91, 52.56, 31.18°)
OKLaboklab(52.51% 0.1315 0.0641)
OKLCHoklch(52.51% 0.146 26)
XYZxyz(20.3040, 13.0993, 5.5961)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF403B #3BAAAF
analogous
#AF3B70 #AF403B #AF7A3B
triadic
#AF403B #3BAF40 #403BAF
tetradic
#AF403B #70AF3B #3BAAAF #7A3BAF
square
#AF403B #70AF3B #3BAAAF #7A3BAF
split-complementary
#AF403B #3BAF7A #3B70AF
monochromatic
#531F1C #812F2C #AF403B #C9635E #D88F8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF403B#FFFFFF#000000##FFFFFF
##AF403B1.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)
#5D563A
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#C02740
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af403b;
/* rgb */ color: rgb(175, 64, 59);
/* oklch */ color: oklch(52.5% 0.146 26.0);
Tailwind
colors: {
  custom: {
    50: '#cd7a71',
    500: '#af403b',
    950: '#000000',
  },
}
SCSS
$custom: #af403b;
$custom-light: #cd7a71;
$custom-dark: #000000;
JSON
{
  "hex": "#af403b",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 59
  },
  "hsl": {
    "h": 2.586,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.14623,
    "h": 26
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#AF403B
secondary
#83C0C3
accent
#D3D94F
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF403B

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

Preview Lab → · Contrast checker → · Palette generator →

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