#AF4827#AF4827

#AF4827 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.3% C 0.143 H 37.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF4827
RGBrgb(175, 72, 39)
HSLhsl(15, 64%, 42%)
HSVhsv(15, 78%, 69%)
CMYKcmyk(0%, 58.9%, 77.7%, 31.4%)
CIE-LABlab(44.09, 40.20, 39.83)
CIE-LCHlch(44.09, 56.59, 44.73°)
OKLaboklab(53.32% 0.1127 0.0876)
OKLCHoklch(53.32% 0.143 37.9)
XYZxyz(20.3649, 13.8979, 3.5293)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4827 #278EAF
analogous
#AF274A #AF4827 #AF8C27
triadic
#AF4827 #27AF48 #4827AF
tetradic
#AF4827 #4AAF27 #278EAF #8C27AF
square
#AF4827 #4AAF27 #278EAF #8C27AF
split-complementary
#AF4827 #27AF8C #274AAF
monochromatic
#4B1F11 #7D331C #AF4827 #D4633F #DF8C71

Accessibility & contrast

On white

5.56
#AF4827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF4827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4827
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4827#FFFFFF#000000##FFFFFF
##AF48271.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A23
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#C03041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4827;
/* rgb */ color: rgb(175, 72, 39);
/* oklch */ color: oklch(53.3% 0.143 37.9);
Tailwind
colors: {
  custom: {
    50: '#ce7e63',
    500: '#af4827',
    950: '#000000',
  },
}
SCSS
$custom: #af4827;
$custom-light: #ce7e63;
$custom-dark: #000000;
JSON
{
  "hex": "#af4827",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 39
  },
  "hsl": {
    "h": 14.559,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.14277,
    "h": 37.9
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#AF4827
secondary
#6BB0C6
accent
#BEE741
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A05
muted
#837C7A

Preview Lab

Preview with #AF4827

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

Preview Lab → · Contrast checker → · Palette generator →

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