#AF382F#AF382F

#AF382F is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.4% C 0.156 H 28.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF382F
RGBrgb(175, 56, 47)
HSLhsl(4, 58%, 44%)
HSVhsv(4, 73%, 69%)
CMYKcmyk(0%, 68%, 73.1%, 31.4%)
CIE-LABlab(41.45, 47.80, 32.56)
CIE-LCHlch(41.45, 57.83, 34.27°)
OKLaboklab(51.36% 0.1379 0.0738)
OKLCHoklch(51.36% 0.156 28.2)
XYZxyz(19.6086, 12.1504, 4.0015)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF382F #2FA6AF
analogous
#AF2F66 #AF382F #AF782F
triadic
#AF382F #2FAF38 #382FAF
tetradic
#AF382F #66AF2F #2FA6AF #782FAF
square
#AF382F #66AF2F #2FA6AF #782FAF
split-complementary
#AF382F #2FAF78 #2F66AF
monochromatic
#4F1915 #7F2922 #AF382F #CF554C #DC837C

Accessibility & contrast

On white

6.12
#AF382F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF382F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF382F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF382F#FFFFFF#000000##FFFFFF
##AF382F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A512D
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#C01537
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af382f;
/* rgb */ color: rgb(175, 56, 47);
/* oklch */ color: oklch(51.4% 0.156 28.2);
Tailwind
colors: {
  custom: {
    50: '#cf7568',
    500: '#af382f',
    950: '#000000',
  },
}
SCSS
$custom: #af382f;
$custom-light: #cf7568;
$custom-dark: #000000;
JSON
{
  "hex": "#af382f",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 47
  },
  "hsl": {
    "h": 4.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51362,
    "c": 0.15641,
    "h": 28.2
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#AF382F
secondary
#75BFC4
accent
#D6E147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF382F

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

Preview Lab → · Contrast checker → · Palette generator →

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