#AF4E4E#AF4E4E

#AF4E4E is a mid, vivid red. Relative luminance 0.151; OKLCH L 54.8% C 0.127 H 22.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF4E4E
RGBrgb(175, 78, 78)
HSLhsl(0, 38%, 50%)
HSVhsv(0, 55%, 69%)
CMYKcmyk(0%, 55.4%, 55.4%, 31.4%)
CIE-LABlab(45.79, 39.63, 19.49)
CIE-LCHlch(45.79, 44.16, 26.19°)
OKLaboklab(54.79% 0.118 0.0481)
OKLCHoklch(54.79% 0.127 22.2)
XYZxyz(21.7805, 15.1154, 8.9768)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E4E #4EAFAF
analogous
#AF4E7F #AF4E4E #AF7F4E
triadic
#AF4E4E #4EAF4E #4E4EAF
tetradic
#AF4E4E #7FAF4E #4EAFAF #7F4EAF
square
#AF4E4E #7FAF4E #4EAFAF #7F4EAF
split-complementary
#AF4E4E #4EAF7F #4E7FAF
monochromatic
#5A2828 #853B3B #AF4E4E #C37878 #D6A2A2

Accessibility & contrast

On white

5.22
#AF4E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E4E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E4E#FFFFFF#000000##FFFFFF
##AF4E4E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604D
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#BF3E4F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4e4e;
/* rgb */ color: rgb(175, 78, 78);
/* oklch */ color: oklch(54.8% 0.127 22.2);
Tailwind
colors: {
  custom: {
    50: '#cc837f',
    500: '#af4e4e',
    950: '#000000',
  },
}
SCSS
$custom: #af4e4e;
$custom-light: #cc837f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e4e",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 78
  },
  "hsl": {
    "h": 0,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.12743,
    "h": 22.2
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#AF4E4E
secondary
#96C3C3
accent
#CECE5A
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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