#AF3A4A#AF3A4A

#AF3A4A is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.152 H 16.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF3A4A
RGBrgb(175, 58, 74)
HSLhsl(352, 50%, 46%)
HSVhsv(352, 67%, 69%)
CMYKcmyk(0%, 66.9%, 57.7%, 31.4%)
CIE-LABlab(42.21, 48.60, 17.16)
CIE-LCHlch(42.21, 51.54, 19.44°)
OKLaboklab(52.07% 0.1457 0.0424)
OKLCHoklch(52.07% 0.152 16.2)
XYZxyz(20.4302, 12.6372, 7.8407)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A4A #3AAF9F
analogous
#AF3A84 #AF3A4A #AF643A
triadic
#AF3A4A #4AAF3A #3A4AAF
tetradic
#AF3A4A #84AF3A #3AAF9F #643AAF
square
#AF3A4A #84AF3A #3AAF9F #643AAF
split-complementary
#AF3A4A #3AAF64 #3A84AF
monochromatic
#531C23 #812B37 #AF3A4A #C95D6C #D98B95

Accessibility & contrast

On white

5.95
#AF3A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF3A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A4A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A4A#FFFFFF#000000##FFFFFF
##AF3A4A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544A
Deuteranopia (green-blind)
#756D47
Tritanopia (blue-blind)
#BF2241
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3a4a;
/* rgb */ color: rgb(175, 58, 74);
/* oklch */ color: oklch(52.1% 0.152 16.2);
Tailwind
colors: {
  custom: {
    50: '#cd777c',
    500: '#af3a4a',
    950: '#000000',
  },
}
SCSS
$custom: #af3a4a;
$custom-light: #cd777c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a4a",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 74
  },
  "hsl": {
    "h": 351.795,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.15177,
    "h": 16.2
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#AF3A4A
secondary
#82C3BA
accent
#DAC74E
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF3A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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