#AF4F4D#AF4F4D

#AF4F4D is a mid, vivid red. Relative luminance 0.152; OKLCH L 54.9% C 0.126 H 23.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF4F4D
RGBrgb(175, 79, 77)
HSLhsl(1, 39%, 49%)
HSVhsv(1, 56%, 69%)
CMYKcmyk(0%, 54.9%, 56%, 31.4%)
CIE-LABlab(45.97, 39.04, 20.32)
CIE-LCHlch(45.97, 44.01, 27.50°)
OKLaboklab(54.92% 0.116 0.05)
OKLCHoklch(54.92% 0.126 23.3)
XYZxyz(21.8165, 15.2443, 8.8133)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F4D #4DADAF
analogous
#AF4D7C #AF4F4D #AF804D
triadic
#AF4F4D #4DAF4F #4F4DAF
tetradic
#AF4F4D #7CAF4D #4DADAF #804DAF
square
#AF4F4D #7CAF4D #4DADAF #804DAF
split-complementary
#AF4F4D #4DAF80 #4D7CAF
monochromatic
#5A2928 #853C3A #AF4F4D #C37876 #D6A2A1

Accessibility & contrast

On white

5.19
#AF4F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF4F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F4D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F4D#FFFFFF#000000##FFFFFF
##AF4F4D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66604C
Deuteranopia (green-blind)
#7E744B
Tritanopia (blue-blind)
#BF3F4F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4f4d;
/* rgb */ color: rgb(175, 79, 77);
/* oklch */ color: oklch(54.9% 0.126 23.3);
Tailwind
colors: {
  custom: {
    50: '#cc837e',
    500: '#af4f4d',
    950: '#000000',
  },
}
SCSS
$custom: #af4f4d;
$custom-light: #cc837e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f4d",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 77
  },
  "hsl": {
    "h": 1.224,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.12634,
    "h": 23.3
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#AF4F4D
secondary
#95C2C3
accent
#CCCF59
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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