#AF4F52#AF4F52

#AF4F52 is a mid, vivid red. Relative luminance 0.153; OKLCH L 55.0% C 0.126 H 20.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF4F52
RGBrgb(175, 79, 82)
HSLhsl(358, 38%, 50%)
HSVhsv(358, 55%, 69%)
CMYKcmyk(0%, 54.9%, 53.1%, 31.4%)
CIE-LABlab(46.07, 39.47, 17.44)
CIE-LCHlch(46.07, 43.15, 23.85°)
OKLaboklab(55.02% 0.1181 0.0435)
OKLCHoklch(55.02% 0.126 20.2)
XYZxyz(21.9999, 15.3177, 9.7791)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F52 #4FAFAC
analogous
#AF4F82 #AF4F52 #AF7C4F
triadic
#AF4F52 #52AF4F #4F52AF
tetradic
#AF4F52 #82AF4F #4FAFAC #7C4FAF
square
#AF4F52 #82AF4F #4FAFAC #7C4FAF
split-complementary
#AF4F52 #4FAF7C #4F82AF
monochromatic
#5B292A #853C3E #AF4F52 #C2797B #D5A3A5

Accessibility & contrast

On white

5.17
#AF4F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF4F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F52
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F52#FFFFFF#000000##FFFFFF
##AF4F521.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656152
Deuteranopia (green-blind)
#7D7550
Tritanopia (blue-blind)
#BE4051
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4f52;
/* rgb */ color: rgb(175, 79, 82);
/* oklch */ color: oklch(55.0% 0.126 20.2);
Tailwind
colors: {
  custom: {
    50: '#cb8382',
    500: '#af4f52',
    950: '#000000',
  },
}
SCSS
$custom: #af4f52;
$custom-light: #cb8382;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f52",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 82
  },
  "hsl": {
    "h": 358.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.1258,
    "h": 20.2
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#AF4F52
secondary
#97C3C1
accent
#CECA5A
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4F52

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

Preview Lab → · Contrast checker → · Palette generator →

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