#AF4F47#AF4F47

#AF4F47 is a mid, vivid red. Relative luminance 0.152; OKLCH L 54.8% C 0.127 H 26.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF4F47
RGBrgb(175, 79, 71)
HSLhsl(5, 42%, 48%)
HSVhsv(5, 59%, 69%)
CMYKcmyk(0%, 54.9%, 59.4%, 31.4%)
CIE-LABlab(45.86, 38.56, 23.77)
CIE-LCHlch(45.86, 45.30, 31.65°)
OKLaboklab(54.8% 0.1136 0.0575)
OKLCHoklch(54.8% 0.127 26.9)
XYZxyz(21.6143, 15.1635, 7.7486)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F47 #47A7AF
analogous
#AF4773 #AF4F47 #AF8347
triadic
#AF4F47 #47AF4F #4F47AF
tetradic
#AF4F47 #73AF47 #47A7AF #8347AF
square
#AF4F47 #73AF47 #47A7AF #8347AF
split-complementary
#AF4F47 #47AF83 #4773AF
monochromatic
#582824 #833B35 #AF4F47 #C4756F #D69F9A

Accessibility & contrast

On white

5.21
#AF4F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F47
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F47#FFFFFF#000000##FFFFFF
##AF4F471.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676046
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#BF3E4E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4f47;
/* rgb */ color: rgb(175, 79, 71);
/* oklch */ color: oklch(54.8% 0.127 26.9);
Tailwind
colors: {
  custom: {
    50: '#cc837a',
    500: '#af4f47',
    950: '#000000',
  },
}
SCSS
$custom: #af4f47;
$custom-light: #cc837a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f47",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 71
  },
  "hsl": {
    "h": 4.615,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.12733,
    "h": 26.9
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#AF4F47
secondary
#8FBEC2
accent
#C9D256
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B

Preview Lab

Preview with #AF4F47

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

Preview Lab → · Contrast checker → · Palette generator →

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