#AF372A#AF372A

#AF372A is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.2% C 0.158 H 29.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF372A
RGBrgb(175, 55, 42)
HSLhsl(6, 61%, 43%)
HSVhsv(6, 76%, 69%)
CMYKcmyk(0%, 68.6%, 76%, 31.4%)
CIE-LABlab(41.24, 47.99, 35.20)
CIE-LCHlch(41.24, 59.51, 36.26°)
OKLaboklab(51.18% 0.1375 0.0784)
OKLCHoklch(51.18% 0.158 29.7)
XYZxyz(19.4655, 12.0164, 3.4845)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF372A #2AA2AF
analogous
#AF2A5F #AF372A #AF7A2A
triadic
#AF372A #2AAF37 #372AAF
tetradic
#AF372A #5FAF2A #2AA2AF #7A2AAF
square
#AF372A #5FAF2A #2AA2AF #7A2AAF
split-complementary
#AF372A #2AAF7A #2A5FAF
monochromatic
#4C1812 #7E271E #AF372A #D25244 #DE8075

Accessibility & contrast

On white

6.17
#AF372A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF372A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF372A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF372A#FFFFFF#000000##FFFFFF
##AF372A1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595128
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#C11035
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af372a;
/* rgb */ color: rgb(175, 55, 42);
/* oklch */ color: oklch(51.2% 0.158 29.7);
Tailwind
colors: {
  custom: {
    50: '#cf7564',
    500: '#af372a',
    950: '#000000',
  },
}
SCSS
$custom: #af372a;
$custom-light: #cf7564;
$custom-dark: #000000;
JSON
{
  "hex": "#af372a",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 42
  },
  "hsl": {
    "h": 5.865,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.15824,
    "h": 29.7
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#AF372A
secondary
#6FBDC6
accent
#D5E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF372A

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

Preview Lab → · Contrast checker → · Palette generator →

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