#AF3A4F#AF3A4F

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

Color values

HEX#AF3A4F
RGBrgb(175, 58, 79)
HSLhsl(349, 50%, 46%)
HSVhsv(349, 67%, 69%)
CMYKcmyk(0%, 66.9%, 54.9%, 31.4%)
CIE-LABlab(42.32, 48.99, 14.20)
CIE-LCHlch(42.32, 51.01, 16.16°)
OKLaboklab(52.19% 0.1477 0.0356)
OKLCHoklch(52.19% 0.152 13.6)
XYZxyz(20.6054, 12.7073, 8.7633)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A4F #3AAF9A
analogous
#AF3A89 #AF3A4F #AF5F3A
triadic
#AF3A4F #4FAF3A #3A4FAF
tetradic
#AF3A4F #89AF3A #3AAF9A #5F3AAF
square
#AF3A4F #89AF3A #3AAF9A #5F3AAF
split-complementary
#AF3A4F #3AAF5F #3A89AF
monochromatic
#531C25 #812B3A #AF3A4F #C95D70 #D98B99

Accessibility & contrast

On white

5.93
#AF3A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF3A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A4F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A4F#FFFFFF#000000##FFFFFF
##AF3A4F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56554F
Deuteranopia (green-blind)
#746D4C
Tritanopia (blue-blind)
#BF2442
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3a4f;
/* rgb */ color: rgb(175, 58, 79);
/* oklch */ color: oklch(52.2% 0.152 13.6);
Tailwind
colors: {
  custom: {
    50: '#cd7780',
    500: '#af3a4f',
    950: '#000000',
  },
}
SCSS
$custom: #af3a4f;
$custom-light: #cd7780;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a4f",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 79
  },
  "hsl": {
    "h": 349.231,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.15197,
    "h": 13.6
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#AF3A4F
secondary
#82C3B7
accent
#DAC14E
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AF3A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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