#AF3A2A#AF3A2A

#AF3A2A is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.5% C 0.155 H 30.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF3A2A
RGBrgb(175, 58, 42)
HSLhsl(7, 61%, 43%)
HSVhsv(7, 76%, 69%)
CMYKcmyk(0%, 66.9%, 76%, 31.4%)
CIE-LABlab(41.70, 46.73, 35.70)
CIE-LCHlch(41.70, 58.81, 37.37°)
OKLaboklab(51.53% 0.1335 0.0795)
OKLCHoklch(51.53% 0.155 30.8)
XYZxyz(19.6123, 12.3101, 3.5334)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A2A #2A9FAF
analogous
#AF2A5D #AF3A2A #AF7C2A
triadic
#AF3A2A #2AAF3A #3A2AAF
tetradic
#AF3A2A #5DAF2A #2A9FAF #7C2AAF
square
#AF3A2A #5DAF2A #2A9FAF #7C2AAF
split-complementary
#AF3A2A #2AAF7C #2A5DAF
monochromatic
#4C1912 #7E2A1E #AF3A2A #D25544 #DE8275

Accessibility & contrast

On white

6.07
#AF3A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF3A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A2A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A2A#FFFFFF#000000##FFFFFF
##AF3A2A1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5227
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#C11837
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3a2a;
/* rgb */ color: rgb(175, 58, 42);
/* oklch */ color: oklch(51.5% 0.155 30.8);
Tailwind
colors: {
  custom: {
    50: '#cf7664',
    500: '#af3a2a',
    950: '#000000',
  },
}
SCSS
$custom: #af3a2a;
$custom-light: #cf7664;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a2a",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 7.218,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.15539,
    "h": 30.8
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#AF3A2A
secondary
#6FBBC6
accent
#D1E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF3A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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