#AF4E51#AF4E51

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

Color values

HEX#AF4E51
RGBrgb(175, 78, 81)
HSLhsl(358, 38%, 50%)
HSVhsv(358, 55%, 69%)
CMYKcmyk(0%, 55.4%, 53.7%, 31.4%)
CIE-LABlab(45.85, 39.88, 17.76)
CIE-LCHlch(45.85, 43.66, 24.00°)
OKLaboklab(54.85% 0.1192 0.0442)
OKLCHoklch(54.85% 0.127 20.3)
XYZxyz(21.8905, 15.1594, 9.5563)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E51 #4EAFAC
analogous
#AF4E82 #AF4E51 #AF7B4E
triadic
#AF4E51 #51AF4E #4E51AF
tetradic
#AF4E51 #82AF4E #4EAFAC #7B4EAF
square
#AF4E51 #82AF4E #4EAFAC #7B4EAF
split-complementary
#AF4E51 #4EAF7B #4E82AF
monochromatic
#5A282A #853B3D #AF4E51 #C3787A #D6A2A3

Accessibility & contrast

On white

5.21
#AF4E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E51
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E51#FFFFFF#000000##FFFFFF
##AF4E511.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646050
Deuteranopia (green-blind)
#7D744F
Tritanopia (blue-blind)
#BE3F50
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4e51;
/* rgb */ color: rgb(175, 78, 81);
/* oklch */ color: oklch(54.9% 0.127 20.3);
Tailwind
colors: {
  custom: {
    50: '#cc8381',
    500: '#af4e51',
    950: '#000000',
  },
}
SCSS
$custom: #af4e51;
$custom-light: #cc8381;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e51",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 81
  },
  "hsl": {
    "h": 358.144,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.12715,
    "h": 20.3
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#AF4E51
secondary
#96C3C1
accent
#CECB5A
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4E51

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

Preview Lab → · Contrast checker → · Palette generator →

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