#AF4D4E#AF4D4E

#AF4D4E is a mid, vivid red. Relative luminance 0.150; OKLCH L 54.6% C 0.129 H 21.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF4D4E
RGBrgb(175, 77, 78)
HSLhsl(359, 39%, 49%)
HSVhsv(359, 56%, 69%)
CMYKcmyk(0%, 56%, 55.4%, 31.4%)
CIE-LABlab(45.60, 40.13, 19.24)
CIE-LCHlch(45.60, 44.50, 25.61°)
OKLaboklab(54.64% 0.1196 0.0475)
OKLCHoklch(54.64% 0.129 21.7)
XYZxyz(21.7100, 14.9744, 8.9533)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D4E #4DAFAE
analogous
#AF4D7F #AF4D4E #AF7D4D
triadic
#AF4D4E #4EAF4D #4D4EAF
tetradic
#AF4D4E #7FAF4D #4DAFAE #7D4DAF
square
#AF4D4E #7FAF4D #4DAFAE #7D4DAF
split-complementary
#AF4D4E #4DAF7D #4D7FAF
monochromatic
#5A2828 #853A3B #AF4D4E #C37677 #D6A1A1

Accessibility & contrast

On white

5.26
#AF4D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF4D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D4E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D4E#FFFFFF#000000##FFFFFF
##AF4D4E1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645F4D
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#BF3D4E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4d4e;
/* rgb */ color: rgb(175, 77, 78);
/* oklch */ color: oklch(54.6% 0.129 21.7);
Tailwind
colors: {
  custom: {
    50: '#cc827f',
    500: '#af4d4e',
    950: '#000000',
  },
}
SCSS
$custom: #af4d4e;
$custom-light: #cc827f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d4e",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 78
  },
  "hsl": {
    "h": 359.388,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.12866,
    "h": 21.7
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#AF4D4E
secondary
#95C3C2
accent
#CFCE59
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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