#AF3A28#AF3A28

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

Color values

HEX#AF3A28
RGBrgb(175, 58, 40)
HSLhsl(8, 63%, 42%)
HSVhsv(8, 77%, 69%)
CMYKcmyk(0%, 66.9%, 77.1%, 31.4%)
CIE-LABlab(41.68, 46.65, 36.79)
CIE-LCHlch(41.68, 59.41, 38.26°)
OKLaboklab(51.51% 0.1329 0.0813)
OKLCHoklch(51.51% 0.156 31.5)
XYZxyz(19.5774, 12.2961, 3.3496)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A28 #289DAF
analogous
#AF285A #AF3A28 #AF7E28
triadic
#AF3A28 #28AF3A #3A28AF
tetradic
#AF3A28 #5AAF28 #289DAF #7E28AF
square
#AF3A28 #5AAF28 #289DAF #7E28AF
split-complementary
#AF3A28 #28AF7E #285AAF
monochromatic
#4B1911 #7D291D #AF3A28 #D45441 #DF8173

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3A28#FFFFFF#000000##FFFFFF
##AF3A281.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)
#5B5225
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#C11837
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3a28;
/* rgb */ color: rgb(175, 58, 40);
/* oklch */ color: oklch(51.5% 0.156 31.5);
Tailwind
colors: {
  custom: {
    50: '#cf7663',
    500: '#af3a28',
    950: '#000000',
  },
}
SCSS
$custom: #af3a28;
$custom-light: #cf7663;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a28",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 8,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.15578,
    "h": 31.5
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#AF3A28
secondary
#6DBAC6
accent
#D0E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AF3A28

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

Preview Lab → · Contrast checker → · Palette generator →

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