#AF3F42#AF3F42

#AF3F42 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.146 H 22.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3F42
RGBrgb(175, 63, 66)
HSLhsl(358, 47%, 47%)
HSVhsv(358, 64%, 69%)
CMYKcmyk(0%, 64%, 62.3%, 31.4%)
CIE-LABlab(42.86, 45.86, 22.93)
CIE-LCHlch(42.86, 51.27, 26.56°)
OKLaboklab(52.51% 0.1356 0.0552)
OKLCHoklch(52.51% 0.146 22.1)
XYZxyz(20.4420, 13.0651, 6.5986)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F42 #3FAFAC
analogous
#AF3F7A #AF3F42 #AF743F
triadic
#AF3F42 #42AF3F #3F42AF
tetradic
#AF3F42 #7AAF3F #3FAFAC #743FAF
square
#AF3F42 #7AAF3F #3FAFAC #743FAF
split-complementary
#AF3F42 #3FAF74 #3F7AAF
monochromatic
#551F20 #822F31 #AF3F42 #C76467 #D79193

Accessibility & contrast

On white

5.81
#AF3F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F42
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F42#FFFFFF#000000##FFFFFF
##AF3F421.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5641
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#C02741
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3f42;
/* rgb */ color: rgb(175, 63, 66);
/* oklch */ color: oklch(52.5% 0.146 22.1);
Tailwind
colors: {
  custom: {
    50: '#cd7a76',
    500: '#af3f42',
    950: '#000000',
  },
}
SCSS
$custom: #af3f42;
$custom-light: #cd7a76;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f42",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 66
  },
  "hsl": {
    "h": 358.393,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.14642,
    "h": 22.1
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#AF3F42
secondary
#87C3C1
accent
#D7D351
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3F42

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

Preview Lab → · Contrast checker → · Palette generator →

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