#AF412A#AF412A

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

Color values

HEX#AF412A
RGBrgb(175, 65, 42)
HSLhsl(10, 61%, 43%)
HSVhsv(10, 76%, 69%)
CMYKcmyk(0%, 62.9%, 76%, 31.4%)
CIE-LABlab(42.86, 43.64, 36.94)
CIE-LCHlch(42.86, 57.17, 40.25°)
OKLaboklab(52.4% 0.1239 0.0822)
OKLCHoklch(52.4% 0.149 33.5)
XYZxyz(19.9896, 13.0645, 3.6592)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF412A #2A98AF
analogous
#AF2A55 #AF412A #AF832A
triadic
#AF412A #2AAF41 #412AAF
tetradic
#AF412A #55AF2A #2A98AF #832AAF
square
#AF412A #55AF2A #2A98AF #832AAF
split-complementary
#AF412A #2AAF83 #2A55AF
monochromatic
#4C1C12 #7E2F1E #AF412A #D25D44 #DE8875

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF412A#FFFFFF#000000##FFFFFF
##AF412A1.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)
#605627
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#C0263C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af412a;
/* rgb */ color: rgb(175, 65, 42);
/* oklch */ color: oklch(52.4% 0.149 33.5);
Tailwind
colors: {
  custom: {
    50: '#cf7a65',
    500: '#af412a',
    950: '#000000',
  },
}
SCSS
$custom: #af412a;
$custom-light: #cf7a65;
$custom-dark: #000000;
JSON
{
  "hex": "#af412a",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 42
  },
  "hsl": {
    "h": 10.376,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.14866,
    "h": 33.5
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#AF412A
secondary
#6FB7C6
accent
#C9E443
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A05
muted
#837C7A

Preview Lab

Preview with #AF412A

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

Preview Lab → · Contrast checker → · Palette generator →

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