#AF4B52#AF4B52

#AF4B52 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.4% C 0.131 H 18.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF4B52
RGBrgb(175, 75, 82)
HSLhsl(356, 40%, 49%)
HSVhsv(356, 57%, 69%)
CMYKcmyk(0%, 57.1%, 53.1%, 31.4%)
CIE-LABlab(45.30, 41.46, 16.41)
CIE-LCHlch(45.30, 44.59, 21.59°)
OKLaboklab(54.45% 0.1243 0.041)
OKLCHoklch(54.45% 0.131 18.3)
XYZxyz(21.7200, 14.7579, 9.6858)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B52 #4BAFA8
analogous
#AF4B84 #AF4B52 #AF764B
triadic
#AF4B52 #52AF4B #4B52AF
tetradic
#AF4B52 #84AF4B #4BAFA8 #764BAF
square
#AF4B52 #84AF4B #4BAFA8 #764BAF
split-complementary
#AF4B52 #4BAF76 #4B84AF
monochromatic
#59262A #84393E #AF4B52 #C37479 #D69FA3

Accessibility & contrast

On white

5.32
#AF4B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF4B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B52
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B52#FFFFFF#000000##FFFFFF
##AF4B521.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625E52
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#BE3B4E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4b52;
/* rgb */ color: rgb(175, 75, 82);
/* oklch */ color: oklch(54.4% 0.131 18.3);
Tailwind
colors: {
  custom: {
    50: '#cc8182',
    500: '#af4b52',
    950: '#000000',
  },
}
SCSS
$custom: #af4b52;
$custom-light: #cc8182;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b52",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 82
  },
  "hsl": {
    "h": 355.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.1309,
    "h": 18.3
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#AF4B52
secondary
#93C2BF
accent
#D0C758
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4B52

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

Preview Lab → · Contrast checker → · Palette generator →

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