#AF4C4E#AF4C4E

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

Color values

HEX#AF4C4E
RGBrgb(175, 76, 78)
HSLhsl(359, 39%, 49%)
HSVhsv(359, 57%, 69%)
CMYKcmyk(0%, 56.6%, 55.4%, 31.4%)
CIE-LABlab(45.41, 40.62, 18.98)
CIE-LCHlch(45.41, 44.84, 25.04°)
OKLaboklab(54.5% 0.1211 0.0469)
OKLCHoklch(54.5% 0.13 21.2)
XYZxyz(21.6406, 14.8355, 8.9302)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4C4E #4CAFAD
analogous
#AF4C80 #AF4C4E #AF7C4C
triadic
#AF4C4E #4EAF4C #4C4EAF
tetradic
#AF4C4E #80AF4C #4CAFAD #7C4CAF
square
#AF4C4E #80AF4C #4CAFAD #7C4CAF
split-complementary
#AF4C4E #4CAF7C #4C80AF
monochromatic
#5A2728 #84393B #AF4C4E #C37577 #D6A0A1

Accessibility & contrast

On white

5.29
#AF4C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF4C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4C4E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4C4E#FFFFFF#000000##FFFFFF
##AF4C4E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635F4D
Deuteranopia (green-blind)
#7C734C
Tritanopia (blue-blind)
#BF3C4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4c4e;
/* rgb */ color: rgb(175, 76, 78);
/* oklch */ color: oklch(54.5% 0.130 21.2);
Tailwind
colors: {
  custom: {
    50: '#cc817f',
    500: '#af4c4e',
    950: '#000000',
  },
}
SCSS
$custom: #af4c4e;
$custom-light: #cc817f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4c4e",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 78
  },
  "hsl": {
    "h": 358.788,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.545,
    "c": 0.12989,
    "h": 21.2
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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