#AF404F#AF404F

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

Color values

HEX#AF404F
RGBrgb(175, 64, 79)
HSLhsl(352, 46%, 47%)
HSVhsv(352, 63%, 69%)
CMYKcmyk(0%, 63.4%, 54.9%, 31.4%)
CIE-LABlab(43.28, 46.38, 15.51)
CIE-LCHlch(43.28, 48.91, 18.49°)
OKLaboklab(52.91% 0.1394 0.0388)
OKLCHoklch(52.91% 0.145 15.5)
XYZxyz(20.9257, 13.3479, 8.8701)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF404F #40AFA0
analogous
#AF4087 #AF404F #AF6940
triadic
#AF404F #4FAF40 #404FAF
tetradic
#AF404F #87AF40 #40AFA0 #6940AF
square
#AF404F #87AF40 #40AFA0 #6940AF
split-complementary
#AF404F #40AF69 #4087AF
monochromatic
#551F27 #82303B #AF404F #C76573 #D7929C

Accessibility & contrast

On white

5.72
#AF404F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF404F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF404F#FFFFFF#000000##FFFFFF
##AF404F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af404f;
/* rgb */ color: rgb(175, 64, 79);
/* oklch */ color: oklch(52.9% 0.145 15.5);
Tailwind
colors: {
  custom: {
    50: '#cc7a80',
    500: '#af404f',
    950: '#000000',
  },
}
SCSS
$custom: #af404f;
$custom-light: #cc7a80;
$custom-dark: #000000;
JSON
{
  "hex": "#af404f",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 351.892,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.14473,
    "h": 15.5
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF404F

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

Preview Lab → · Contrast checker → · Palette generator →

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