#AF412C#AF412C

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

Color values

HEX#AF412C
RGBrgb(175, 65, 44)
HSLhsl(10, 60%, 43%)
HSVhsv(10, 75%, 69%)
CMYKcmyk(0%, 62.9%, 74.9%, 31.4%)
CIE-LABlab(42.88, 43.72, 35.86)
CIE-LCHlch(42.88, 56.55, 39.36°)
OKLaboklab(52.42% 0.1246 0.0803)
OKLCHoklch(52.42% 0.148 32.8)
XYZxyz(20.0262, 13.0792, 3.8524)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF412C #2C9AAF
analogous
#AF2C59 #AF412C #AF822C
triadic
#AF412C #2CAF41 #412CAF
tetradic
#AF412C #59AF2C #2C9AAF #822CAF
square
#AF412C #59AF2C #2C9AAF #822CAF
split-complementary
#AF412C #2CAF82 #2C59AF
monochromatic
#4D1D13 #7E2F20 #AF412C #D15D47 #DD8878

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF412C#FFFFFF#000000##FFFFFF
##AF412C1.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)
#605629
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#C0263D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af412c;
/* rgb */ color: rgb(175, 65, 44);
/* oklch */ color: oklch(52.4% 0.148 32.8);
Tailwind
colors: {
  custom: {
    50: '#ce7a66',
    500: '#af412c',
    950: '#000000',
  },
}
SCSS
$custom: #af412c;
$custom-light: #ce7a66;
$custom-dark: #000000;
JSON
{
  "hex": "#af412c",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 44
  },
  "hsl": {
    "h": 9.618,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.1482,
    "h": 32.8
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#AF412C
secondary
#72B8C5
accent
#CAE345
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF412C

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

Preview Lab → · Contrast checker → · Palette generator →

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