#AF404E#AF404E

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

Color values

HEX#AF404E
RGBrgb(175, 64, 78)
HSLhsl(352, 46%, 47%)
HSVhsv(352, 63%, 69%)
CMYKcmyk(0%, 63.4%, 55.4%, 31.4%)
CIE-LABlab(43.26, 46.30, 16.10)
CIE-LCHlch(43.26, 49.02, 19.17°)
OKLaboklab(52.89% 0.139 0.0401)
OKLCHoklch(52.89% 0.145 16.1)
XYZxyz(20.8896, 13.3335, 8.6798)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF404E #40AFA1
analogous
#AF4086 #AF404E #AF6940
triadic
#AF404E #4EAF40 #404EAF
tetradic
#AF404E #86AF40 #40AFA1 #6940AF
square
#AF404E #86AF40 #40AFA1 #6940AF
split-complementary
#AF404E #40AF69 #4086AF
monochromatic
#551F26 #82303A #AF404E #C76572 #D7929B

Accessibility & contrast

On white

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

On black

3.67
#AF404E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF404E#FFFFFF#000000##FFFFFF
##AF404E1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584E
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#BF2C46
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af404e;
/* rgb */ color: rgb(175, 64, 78);
/* oklch */ color: oklch(52.9% 0.145 16.1);
Tailwind
colors: {
  custom: {
    50: '#cc7a7f',
    500: '#af404e',
    950: '#000000',
  },
}
SCSS
$custom: #af404e;
$custom-light: #cc7a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af404e",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 352.432,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.14471,
    "h": 16.1
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#AF404E
secondary
#88C3BB
accent
#D6C552
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF404E

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

Preview Lab → · Contrast checker → · Palette generator →

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