#AF4534#AF4534

#AF4534 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.1% C 0.142 H 31.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4534
RGBrgb(175, 69, 52)
HSLhsl(8, 54%, 45%)
HSVhsv(8, 70%, 69%)
CMYKcmyk(0%, 60.6%, 70.3%, 31.4%)
CIE-LABlab(43.68, 42.25, 32.24)
CIE-LCHlch(43.68, 53.15, 37.35°)
OKLaboklab(53.06% 0.1216 0.0741)
OKLCHoklch(53.06% 0.142 31.4)
XYZxyz(20.4292, 13.6209, 4.8015)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4534 #349EAF
analogous
#AF3460 #AF4534 #AF8334
triadic
#AF4534 #34AF45 #4534AF
tetradic
#AF4534 #60AF34 #349EAF #8334AF
square
#AF4534 #60AF34 #349EAF #8334AF
split-complementary
#AF4534 #34AF83 #3460AF
monochromatic
#512018 #803226 #AF4534 #CC6554 #DA8F83

Accessibility & contrast

On white

5.64
#AF4534 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF4534 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4534
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4534#FFFFFF#000000##FFFFFF
##AF45341.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625932
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#C02E41
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4534;
/* rgb */ color: rgb(175, 69, 52);
/* oklch */ color: oklch(53.1% 0.142 31.4);
Tailwind
colors: {
  custom: {
    50: '#ce7d6c',
    500: '#af4534',
    950: '#000000',
  },
}
SCSS
$custom: #af4534;
$custom-light: #ce7d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4534",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 52
  },
  "hsl": {
    "h": 8.293,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.14235,
    "h": 31.4
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#AF4534
secondary
#7BBAC4
accent
#C9DE4A
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4534

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

Preview Lab → · Contrast checker → · Palette generator →

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