#AF4C4D#AF4C4D

#AF4C4D is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.5% C 0.130 H 21.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF4C4D
RGBrgb(175, 76, 77)
HSLhsl(359, 39%, 49%)
HSVhsv(359, 57%, 69%)
CMYKcmyk(0%, 56.6%, 56%, 31.4%)
CIE-LABlab(45.39, 40.54, 19.56)
CIE-LCHlch(45.39, 45.01, 25.75°)
OKLaboklab(54.48% 0.1207 0.0482)
OKLCHoklch(54.48% 0.13 21.8)
XYZxyz(21.6050, 14.8213, 8.7428)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4C4D #4CAFAE
analogous
#AF4C7F #AF4C4D #AF7D4C
triadic
#AF4C4D #4DAF4C #4C4DAF
tetradic
#AF4C4D #7FAF4C #4CAFAE #7D4CAF
square
#AF4C4D #7FAF4C #4CAFAE #7D4CAF
split-complementary
#AF4C4D #4CAF7D #4C7FAF
monochromatic
#5A2727 #84393A #AF4C4D #C37576 #D6A0A0

Accessibility & contrast

On white

5.30
#AF4C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF4C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4C4D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4C4D#FFFFFF#000000##FFFFFF
##AF4C4D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645F4C
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#BF3C4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4c4d;
/* rgb */ color: rgb(175, 76, 77);
/* oklch */ color: oklch(54.5% 0.130 21.8);
Tailwind
colors: {
  custom: {
    50: '#cc817e',
    500: '#af4c4d',
    950: '#000000',
  },
}
SCSS
$custom: #af4c4d;
$custom-light: #cc817e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4c4d",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 77
  },
  "hsl": {
    "h": 359.394,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.12999,
    "h": 21.8
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#AF4C4D
secondary
#94C2C2
accent
#CFCE58
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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