#AF4945#AF4945

#AF4945 is a mid, vivid red. Relative luminance 0.143; OKLCH L 53.9% C 0.135 H 24.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF4945
RGBrgb(175, 73, 69)
HSLhsl(2, 43%, 48%)
HSVhsv(2, 61%, 69%)
CMYKcmyk(0%, 58.3%, 60.6%, 31.4%)
CIE-LABlab(44.68, 41.40, 23.45)
CIE-LCHlch(44.68, 47.57, 29.53°)
OKLaboklab(53.89% 0.1221 0.0566)
OKLCHoklch(53.89% 0.135 24.9)
XYZxyz(21.1378, 14.3114, 7.2783)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4945 #45ABAF
analogous
#AF4576 #AF4945 #AF7E45
triadic
#AF4945 #45AF49 #4945AF
tetradic
#AF4945 #76AF45 #45ABAF #7E45AF
square
#AF4945 #76AF45 #45ABAF #7E45AF
split-complementary
#AF4945 #45AF7E #4576AF
monochromatic
#572422 #833734 #AF4945 #C56F6C #D69A98

Accessibility & contrast

On white

5.44
#AF4945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF4945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4945
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4945#FFFFFF#000000##FFFFFF
##AF49451.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625C44
Deuteranopia (green-blind)
#7C7243
Tritanopia (blue-blind)
#BF3649
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4945;
/* rgb */ color: rgb(175, 73, 69);
/* oklch */ color: oklch(53.9% 0.135 24.9);
Tailwind
colors: {
  custom: {
    50: '#cc7f78',
    500: '#af4945',
    950: '#000000',
  },
}
SCSS
$custom: #af4945;
$custom-light: #cc7f78;
$custom-dark: #000000;
JSON
{
  "hex": "#af4945",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 69
  },
  "hsl": {
    "h": 2.264,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.1346,
    "h": 24.9
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#AF4945
secondary
#8DC0C2
accent
#CED355
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AF4945

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

Preview Lab → · Contrast checker → · Palette generator →

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