#AF382A#AF382A

#AF382A is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 30.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF382A
RGBrgb(175, 56, 42)
HSLhsl(6, 61%, 43%)
HSVhsv(6, 76%, 69%)
CMYKcmyk(0%, 68%, 76%, 31.4%)
CIE-LABlab(41.39, 47.58, 35.36)
CIE-LCHlch(41.39, 59.28, 36.62°)
OKLaboklab(51.3% 0.1362 0.0787)
OKLCHoklch(51.3% 0.157 30)
XYZxyz(19.5135, 12.1124, 3.5005)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF382A #2AA1AF
analogous
#AF2A5E #AF382A #AF7B2A
triadic
#AF382A #2AAF38 #382AAF
tetradic
#AF382A #5EAF2A #2AA1AF #7B2AAF
square
#AF382A #5EAF2A #2AA1AF #7B2AAF
split-complementary
#AF382A #2AAF7B #2A5EAF
monochromatic
#4C1812 #7E281E #AF382A #D25344 #DE8075

Accessibility & contrast

On white

6.14
#AF382A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF382A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF382A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF382A#FFFFFF#000000##FFFFFF
##AF382A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5128
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#C11336
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af382a;
/* rgb */ color: rgb(175, 56, 42);
/* oklch */ color: oklch(51.3% 0.157 30.0);
Tailwind
colors: {
  custom: {
    50: '#cf7564',
    500: '#af382a',
    950: '#000000',
  },
}
SCSS
$custom: #af382a;
$custom-light: #cf7564;
$custom-dark: #000000;
JSON
{
  "hex": "#af382a",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 42
  },
  "hsl": {
    "h": 6.316,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.15729,
    "h": 30
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#AF382A
secondary
#6FBCC6
accent
#D3E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF382A

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

Preview Lab → · Contrast checker → · Palette generator →

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