#AF3A2F#AF3A2F

#AF3A2F is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.154 H 28.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF3A2F
RGBrgb(175, 58, 47)
HSLhsl(5, 58%, 44%)
HSVhsv(5, 73%, 69%)
CMYKcmyk(0%, 66.9%, 73.1%, 31.4%)
CIE-LABlab(41.76, 46.95, 32.92)
CIE-LCHlch(41.76, 57.34, 35.03°)
OKLaboklab(51.6% 0.1353 0.0746)
OKLCHoklch(51.6% 0.154 28.9)
XYZxyz(19.7075, 12.3482, 4.0345)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A2F #2FA4AF
analogous
#AF2F64 #AF3A2F #AF7A2F
triadic
#AF3A2F #2FAF3A #3A2FAF
tetradic
#AF3A2F #64AF2F #2FA4AF #7A2FAF
square
#AF3A2F #64AF2F #2FA4AF #7A2FAF
split-complementary
#AF3A2F #2FAF7A #2F64AF
monochromatic
#4F1A15 #7F2A22 #AF3A2F #CF574C #DC857C

Accessibility & contrast

On white

6.05
#AF3A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF3A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A2F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A2F#FFFFFF#000000##FFFFFF
##AF3A2F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522D
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#C01938
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3a2f;
/* rgb */ color: rgb(175, 58, 47);
/* oklch */ color: oklch(51.6% 0.154 28.9);
Tailwind
colors: {
  custom: {
    50: '#cf7768',
    500: '#af3a2f',
    950: '#000000',
  },
}
SCSS
$custom: #af3a2f;
$custom-light: #cf7768;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a2f",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 47
  },
  "hsl": {
    "h": 5.156,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.15446,
    "h": 28.9
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#AF3A2F
secondary
#75BEC4
accent
#D4E147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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