#AF4A4E#AF4A4E

#AF4A4E is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.2% C 0.132 H 20.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF4A4E
RGBrgb(175, 74, 78)
HSLhsl(358, 41%, 49%)
HSVhsv(358, 58%, 69%)
CMYKcmyk(0%, 57.7%, 55.4%, 31.4%)
CIE-LABlab(45.03, 41.61, 18.48)
CIE-LCHlch(45.03, 45.53, 23.95°)
OKLaboklab(54.22% 0.1242 0.0457)
OKLCHoklch(54.22% 0.132 20.2)
XYZxyz(21.5049, 14.5642, 8.8850)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A4E #4AAFAB
analogous
#AF4A81 #AF4A4E #AF794A
triadic
#AF4A4E #4EAF4A #4A4EAF
tetradic
#AF4A4E #81AF4A #4AAFAB #794AAF
square
#AF4A4E #81AF4A #4AAFAB #794AAF
split-complementary
#AF4A4E #4AAF79 #4A81AF
monochromatic
#592628 #84383B #AF4A4E #C47376 #D69EA0

Accessibility & contrast

On white

5.37
#AF4A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF4A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A4E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A4E#FFFFFF#000000##FFFFFF
##AF4A4E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625D4D
Deuteranopia (green-blind)
#7B724C
Tritanopia (blue-blind)
#BF394C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4a4e;
/* rgb */ color: rgb(175, 74, 78);
/* oklch */ color: oklch(54.2% 0.132 20.2);
Tailwind
colors: {
  custom: {
    50: '#cc807f',
    500: '#af4a4e',
    950: '#000000',
  },
}
SCSS
$custom: #af4a4e;
$custom-light: #cc807f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a4e",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 78
  },
  "hsl": {
    "h": 357.624,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.13236,
    "h": 20.2
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#AF4A4E
secondary
#92C2C1
accent
#D0CC57
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF4A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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