#AF4938#AF4938

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

Color values

HEX#AF4938
RGBrgb(175, 73, 56)
HSLhsl(9, 52%, 45%)
HSVhsv(9, 68%, 69%)
CMYKcmyk(0%, 58.3%, 68%, 31.4%)
CIE-LABlab(44.47, 40.55, 30.87)
CIE-LCHlch(44.47, 50.96, 37.28°)
OKLaboklab(53.67% 0.117 0.0717)
OKLCHoklch(53.67% 0.137 31.5)
XYZxyz(20.7776, 14.1673, 5.3810)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4938 #389EAF
analogous
#AF3863 #AF4938 #AF8438
triadic
#AF4938 #38AF49 #4938AF
tetradic
#AF4938 #63AF38 #389EAF #8438AF
square
#AF4938 #63AF38 #389EAF #8438AF
split-complementary
#AF4938 #38AF84 #3863AF
monochromatic
#52221A #813629 #AF4938 #CA6A5A #D99488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4938#FFFFFF#000000##FFFFFF
##AF49381.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)
#645B36
Deuteranopia (green-blind)
#7D7235
Tritanopia (blue-blind)
#C03445
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4938;
/* rgb */ color: rgb(175, 73, 56);
/* oklch */ color: oklch(53.7% 0.137 31.5);
Tailwind
colors: {
  custom: {
    50: '#cd7f6f',
    500: '#af4938',
    950: '#000000',
  },
}
SCSS
$custom: #af4938;
$custom-light: #cd7f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4938",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 56
  },
  "hsl": {
    "h": 8.571,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.13727,
    "h": 31.5
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#AF4938
secondary
#80BAC3
accent
#C7DB4D
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4938

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

Preview Lab → · Contrast checker → · Palette generator →

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