#AF3C52#AF3C52

#AF3C52 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.5% C 0.150 H 12.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3C52
RGBrgb(175, 60, 82)
HSLhsl(349, 49%, 46%)
HSVhsv(349, 66%, 69%)
CMYKcmyk(0%, 65.7%, 53.1%, 31.4%)
CIE-LABlab(42.70, 48.39, 12.86)
CIE-LCHlch(42.70, 50.07, 14.88°)
OKLaboklab(52.5% 0.1462 0.0325)
OKLCHoklch(52.5% 0.15 12.5)
XYZxyz(20.8198, 12.9576, 9.3857)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C52 #3CAF99
analogous
#AF3C8B #AF3C52 #AF5F3C
triadic
#AF3C52 #52AF3C #3C52AF
tetradic
#AF3C52 #8BAF3C #3CAF99 #5F3CAF
square
#AF3C52 #8BAF3C #3CAF99 #5F3CAF
split-complementary
#AF3C52 #3CAF5F #3C8BAF
monochromatic
#541D27 #812C3D #AF3C52 #C86074 #D88D9C

Accessibility & contrast

On white

5.85
#AF3C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF3C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C52
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C52#FFFFFF#000000##FFFFFF
##AF3C521.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575652
Deuteranopia (green-blind)
#756E4F
Tritanopia (blue-blind)
#BF2845
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3c52;
/* rgb */ color: rgb(175, 60, 82);
/* oklch */ color: oklch(52.5% 0.150 12.5);
Tailwind
colors: {
  custom: {
    50: '#cc7882',
    500: '#af3c52',
    950: '#000000',
  },
}
SCSS
$custom: #af3c52;
$custom-light: #cc7882;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c52",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 82
  },
  "hsl": {
    "h": 348.522,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.14979,
    "h": 12.5
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#AF3C52
secondary
#84C3B7
accent
#D8BE4F
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AF3C52

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

Preview Lab → · Contrast checker → · Palette generator →

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