#AF412F#AF412F

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

Color values

HEX#AF412F
RGBrgb(175, 65, 47)
HSLhsl(8, 58%, 44%)
HSVhsv(8, 73%, 69%)
CMYKcmyk(0%, 62.9%, 73.1%, 31.4%)
CIE-LABlab(42.92, 43.86, 34.22)
CIE-LCHlch(42.92, 55.63, 37.96°)
OKLaboklab(52.46% 0.1256 0.0774)
OKLCHoklch(52.46% 0.148 31.6)
XYZxyz(20.0847, 13.1026, 4.1602)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF412F #2F9DAF
analogous
#AF2F5D #AF412F #AF812F
triadic
#AF412F #2FAF41 #412FAF
tetradic
#AF412F #5DAF2F #2F9DAF #812FAF
square
#AF412F #5DAF2F #2F9DAF #812FAF
split-complementary
#AF412F #2FAF81 #2F5DAF
monochromatic
#4F1D15 #7F2F22 #AF412F #CF5F4C #DC8A7C

Accessibility & contrast

On white

5.80
#AF412F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF412F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF412F#FFFFFF#000000##FFFFFF
##AF412F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af412f;
/* rgb */ color: rgb(175, 65, 47);
/* oklch */ color: oklch(52.5% 0.148 31.6);
Tailwind
colors: {
  custom: {
    50: '#ce7a68',
    500: '#af412f',
    950: '#000000',
  },
}
SCSS
$custom: #af412f;
$custom-light: #ce7a68;
$custom-dark: #000000;
JSON
{
  "hex": "#af412f",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 47
  },
  "hsl": {
    "h": 8.437,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.14753,
    "h": 31.6
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#AF412F
secondary
#75B9C4
accent
#CBE147
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF412F

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

Preview Lab → · Contrast checker → · Palette generator →

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