#AF3A2B#AF3A2B

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

Color values

HEX#AF3A2B
RGBrgb(175, 58, 43)
HSLhsl(7, 61%, 43%)
HSVhsv(7, 75%, 69%)
CMYKcmyk(0%, 66.9%, 75.4%, 31.4%)
CIE-LABlab(41.72, 46.78, 35.15)
CIE-LCHlch(41.72, 58.51, 36.92°)
OKLaboklab(51.54% 0.1339 0.0785)
OKLCHoklch(51.54% 0.155 30.4)
XYZxyz(19.6305, 12.3174, 3.6289)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A2B #2BA0AF
analogous
#AF2B5E #AF3A2B #AF7C2B
triadic
#AF3A2B #2BAF3A #3A2BAF
tetradic
#AF3A2B #5EAF2B #2BA0AF #7C2BAF
square
#AF3A2B #5EAF2B #2BA0AF #7C2BAF
split-complementary
#AF3A2B #2BAF7C #2B5EAF
monochromatic
#4D1913 #7E2A1F #AF3A2B #D15646 #DE8377

Accessibility & contrast

On white

6.06
#AF3A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3A2B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A2B#FFFFFF#000000##FFFFFF
##AF3A2B1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3a2b;
/* rgb */ color: rgb(175, 58, 43);
/* oklch */ color: oklch(51.5% 0.155 30.4);
Tailwind
colors: {
  custom: {
    50: '#cf7665',
    500: '#af3a2b',
    950: '#000000',
  },
}
SCSS
$custom: #af3a2b;
$custom-light: #cf7665;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a2b",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 43
  },
  "hsl": {
    "h": 6.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.1552,
    "h": 30.4
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#AF3A2B
secondary
#70BCC5
accent
#D2E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF3A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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