#AF4939#AF4939

#AF4939 is a mid, vivid red. Relative luminance 0.142; OKLCH L 53.7% C 0.137 H 31.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF4939
RGBrgb(175, 73, 57)
HSLhsl(8, 51%, 45%)
HSVhsv(8, 67%, 69%)
CMYKcmyk(0%, 58.3%, 67.4%, 31.4%)
CIE-LABlab(44.49, 40.60, 30.30)
CIE-LCHlch(44.49, 50.67, 36.74°)
OKLaboklab(53.69% 0.1174 0.0706)
OKLCHoklch(53.69% 0.137 31)
XYZxyz(20.8023, 14.1772, 5.5111)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4939 #399FAF
analogous
#AF3964 #AF4939 #AF8439
triadic
#AF4939 #39AF49 #4939AF
tetradic
#AF4939 #64AF39 #399FAF #8439AF
square
#AF4939 #64AF39 #399FAF #8439AF
split-complementary
#AF4939 #39AF84 #3964AF
monochromatic
#53221B #81362A #AF4939 #CA6A5B #D9948A

Accessibility & contrast

On white

5.48
#AF4939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF4939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4939
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4939#FFFFFF#000000##FFFFFF
##AF49391.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B37
Deuteranopia (green-blind)
#7D7236
Tritanopia (blue-blind)
#C03446
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4939;
/* rgb */ color: rgb(175, 73, 57);
/* oklch */ color: oklch(53.7% 0.137 31.0);
Tailwind
colors: {
  custom: {
    50: '#cd7f70',
    500: '#af4939',
    950: '#000000',
  },
}
SCSS
$custom: #af4939;
$custom-light: #cd7f70;
$custom-dark: #000000;
JSON
{
  "hex": "#af4939",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 57
  },
  "hsl": {
    "h": 8.136,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53688,
    "c": 0.13703,
    "h": 31
  },
  "luminance": 0.14174
}

Semantic roles & 50–950 ramp

primary
#AF4939
secondary
#81BAC3
accent
#C7DA4D
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4939

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

Preview Lab → · Contrast checker → · Palette generator →

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