#AF3F52#AF3F52

#AF3F52 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.9% C 0.146 H 13.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF3F52
RGBrgb(175, 63, 82)
HSLhsl(350, 47%, 47%)
HSVhsv(350, 64%, 69%)
CMYKcmyk(0%, 64%, 53.1%, 31.4%)
CIE-LABlab(43.18, 47.08, 13.52)
CIE-LCHlch(43.18, 48.99, 16.03°)
OKLaboklab(52.86% 0.1421 0.0341)
OKLCHoklch(52.86% 0.146 13.5)
XYZxyz(20.9815, 13.2808, 9.4396)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F52 #3FAF9C
analogous
#AF3F8A #AF3F52 #AF643F
triadic
#AF3F52 #52AF3F #3F52AF
tetradic
#AF3F52 #8AAF3F #3FAF9C #643FAF
square
#AF3F52 #8AAF3F #3FAF9C #643FAF
split-complementary
#AF3F52 #3FAF64 #3F8AAF
monochromatic
#551F28 #822F3D #AF3F52 #C76475 #D7919D

Accessibility & contrast

On white

5.74
#AF3F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF3F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F52
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F52#FFFFFF#000000##FFFFFF
##AF3F521.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595852
Deuteranopia (green-blind)
#766F4F
Tritanopia (blue-blind)
#BF2C46
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3f52;
/* rgb */ color: rgb(175, 63, 82);
/* oklch */ color: oklch(52.9% 0.146 13.5);
Tailwind
colors: {
  custom: {
    50: '#cc7a82',
    500: '#af3f52',
    950: '#000000',
  },
}
SCSS
$custom: #af3f52;
$custom-light: #cc7a82;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f52",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 82
  },
  "hsl": {
    "h": 349.821,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.1461,
    "h": 13.5
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#AF3F52
secondary
#87C3B9
accent
#D7C051
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF3F52

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

Preview Lab → · Contrast checker → · Palette generator →

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