#AF404D#AF404D

#AF404D is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.9% C 0.145 H 16.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF404D
RGBrgb(175, 64, 77)
HSLhsl(353, 46%, 47%)
HSVhsv(353, 63%, 69%)
CMYKcmyk(0%, 63.4%, 56%, 31.4%)
CIE-LABlab(43.24, 46.22, 16.69)
CIE-LCHlch(43.24, 49.14, 19.85°)
OKLaboklab(52.86% 0.1386 0.0415)
OKLCHoklch(52.86% 0.145 16.7)
XYZxyz(20.8540, 13.3193, 8.4925)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF404D #40AFA2
analogous
#AF4085 #AF404D #AF6B40
triadic
#AF404D #4DAF40 #404DAF
tetradic
#AF404D #85AF40 #40AFA2 #6B40AF
square
#AF404D #85AF40 #40AFA2 #6B40AF
split-complementary
#AF404D #40AF6B #4085AF
monochromatic
#551F26 #823039 #AF404D #C76571 #D7929A

Accessibility & contrast

On white

5.73
#AF404D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF404D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF404D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF404D#FFFFFF#000000##FFFFFF
##AF404D1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584D
Deuteranopia (green-blind)
#776F4A
Tritanopia (blue-blind)
#BF2C45
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af404d;
/* rgb */ color: rgb(175, 64, 77);
/* oklch */ color: oklch(52.9% 0.145 16.7);
Tailwind
colors: {
  custom: {
    50: '#cc7a7e',
    500: '#af404d',
    950: '#000000',
  },
}
SCSS
$custom: #af404d;
$custom-light: #cc7a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#af404d",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 77
  },
  "hsl": {
    "h": 352.973,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.1447,
    "h": 16.7
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#AF404D
secondary
#88C3BC
accent
#D6C752
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF404D

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

Preview Lab → · Contrast checker → · Palette generator →

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