#AF3A27#AF3A27

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

Color values

HEX#AF3A27
RGBrgb(175, 58, 39)
HSLhsl(8, 64%, 42%)
HSVhsv(8, 78%, 69%)
CMYKcmyk(0%, 66.9%, 77.7%, 31.4%)
CIE-LABlab(41.67, 46.61, 37.32)
CIE-LCHlch(41.67, 59.72, 38.68°)
OKLaboklab(51.5% 0.1326 0.0822)
OKLCHoklch(51.5% 0.156 31.8)
XYZxyz(19.5607, 12.2894, 3.2612)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A27 #279CAF
analogous
#AF2758 #AF3A27 #AF7E27
triadic
#AF3A27 #27AF3A #3A27AF
tetradic
#AF3A27 #58AF27 #279CAF #7E27AF
square
#AF3A27 #58AF27 #279CAF #7E27AF
split-complementary
#AF3A27 #27AF7E #2758AF
monochromatic
#4B1911 #7D291C #AF3A27 #D4543F #DF8071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3A27#FFFFFF#000000##FFFFFF
##AF3A271.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)
#5B5224
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#C11736
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3a27;
/* rgb */ color: rgb(175, 58, 39);
/* oklch */ color: oklch(51.5% 0.156 31.8);
Tailwind
colors: {
  custom: {
    50: '#cf7662',
    500: '#af3a27',
    950: '#000000',
  },
}
SCSS
$custom: #af3a27;
$custom-light: #cf7662;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a27",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 39
  },
  "hsl": {
    "h": 8.382,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.15598,
    "h": 31.8
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#AF3A27
secondary
#6BBAC6
accent
#CFE741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AF3A27

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

Preview Lab → · Contrast checker → · Palette generator →

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