#AF412D#AF412D

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

Color values

HEX#AF412D
RGBrgb(175, 65, 45)
HSLhsl(9, 59%, 43%)
HSVhsv(9, 74%, 69%)
CMYKcmyk(0%, 62.9%, 74.3%, 31.4%)
CIE-LABlab(42.89, 43.77, 35.32)
CIE-LCHlch(42.89, 56.24, 38.90°)
OKLaboklab(52.44% 0.1249 0.0794)
OKLCHoklch(52.44% 0.148 32.4)
XYZxyz(20.0453, 13.0868, 3.9526)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF412D #2D9BAF
analogous
#AF2D5A #AF412D #AF822D
triadic
#AF412D #2DAF41 #412DAF
tetradic
#AF412D #5AAF2D #2D9BAF #822DAF
square
#AF412D #5AAF2D #2D9BAF #822DAF
split-complementary
#AF412D #2DAF82 #2D5AAF
monochromatic
#4E1D14 #7E2F20 #AF412D #D05E49 #DD897A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF412D#FFFFFF#000000##FFFFFF
##AF412D1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#C0263D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af412d;
/* rgb */ color: rgb(175, 65, 45);
/* oklch */ color: oklch(52.4% 0.148 32.4);
Tailwind
colors: {
  custom: {
    50: '#ce7a67',
    500: '#af412d',
    950: '#000000',
  },
}
SCSS
$custom: #af412d;
$custom-light: #ce7a67;
$custom-dark: #000000;
JSON
{
  "hex": "#af412d",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 45
  },
  "hsl": {
    "h": 9.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.14797,
    "h": 32.4
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#AF412D
secondary
#73B8C5
accent
#CAE246
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF412D

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

Preview Lab → · Contrast checker → · Palette generator →

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