#AF412B#AF412B

#AF412B is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.4% C 0.148 H 33.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF412B
RGBrgb(175, 65, 43)
HSLhsl(10, 61%, 43%)
HSVhsv(10, 75%, 69%)
CMYKcmyk(0%, 62.9%, 75.4%, 31.4%)
CIE-LABlab(42.87, 43.68, 36.40)
CIE-LCHlch(42.87, 56.86, 39.81°)
OKLaboklab(52.41% 0.1242 0.0812)
OKLCHoklch(52.41% 0.148 33.2)
XYZxyz(20.0077, 13.0718, 3.7546)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF412B #2B99AF
analogous
#AF2B57 #AF412B #AF832B
triadic
#AF412B #2BAF41 #412BAF
tetradic
#AF412B #57AF2B #2B99AF #832BAF
square
#AF412B #57AF2B #2B99AF #832BAF
split-complementary
#AF412B #2BAF83 #2B57AF
monochromatic
#4D1D13 #7E2F1F #AF412B #D15D46 #DE8877

Accessibility & contrast

On white

5.81
#AF412B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF412B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF412B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF412B#FFFFFF#000000##FFFFFF
##AF412B1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#C0263C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af412b;
/* rgb */ color: rgb(175, 65, 43);
/* oklch */ color: oklch(52.4% 0.148 33.2);
Tailwind
colors: {
  custom: {
    50: '#ce7a65',
    500: '#af412b',
    950: '#000000',
  },
}
SCSS
$custom: #af412b;
$custom-light: #ce7a65;
$custom-dark: #000000;
JSON
{
  "hex": "#af412b",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 43
  },
  "hsl": {
    "h": 10,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52412,
    "c": 0.14843,
    "h": 33.2
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#AF412B
secondary
#70B7C5
accent
#C9E444
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF412B

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

Preview Lab → · Contrast checker → · Palette generator →

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