#AF4E52#AF4E52

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

Color values

HEX#AF4E52
RGBrgb(175, 78, 82)
HSLhsl(358, 38%, 50%)
HSVhsv(358, 55%, 69%)
CMYKcmyk(0%, 55.4%, 53.1%, 31.4%)
CIE-LABlab(45.87, 39.97, 17.18)
CIE-LCHlch(45.87, 43.51, 23.26°)
OKLaboklab(54.88% 0.1196 0.0429)
OKLCHoklch(54.88% 0.127 19.7)
XYZxyz(21.9283, 15.1745, 9.7552)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E52 #4EAFAB
analogous
#AF4E83 #AF4E52 #AF7B4E
triadic
#AF4E52 #52AF4E #4E52AF
tetradic
#AF4E52 #83AF4E #4EAFAB #7B4EAF
square
#AF4E52 #83AF4E #4EAFAB #7B4EAF
split-complementary
#AF4E52 #4EAF7B #4E83AF
monochromatic
#5A282A #853B3E #AF4E52 #C3787B #D6A2A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4E52#FFFFFF#000000##FFFFFF
##AF4E521.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)
#646052
Deuteranopia (green-blind)
#7D7450
Tritanopia (blue-blind)
#BE3F50
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4e52;
/* rgb */ color: rgb(175, 78, 82);
/* oklch */ color: oklch(54.9% 0.127 19.7);
Tailwind
colors: {
  custom: {
    50: '#cb8382',
    500: '#af4e52',
    950: '#000000',
  },
}
SCSS
$custom: #af4e52;
$custom-light: #cb8382;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e52",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 357.526,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.12708,
    "h": 19.7
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4E52

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

Preview Lab → · Contrast checker → · Palette generator →

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