#AF4142#AF4142

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

Color values

HEX#AF4142
RGBrgb(175, 65, 66)
HSLhsl(359, 46%, 47%)
HSVhsv(359, 63%, 69%)
CMYKcmyk(0%, 62.9%, 62.3%, 31.4%)
CIE-LABlab(43.20, 44.96, 23.36)
CIE-LCHlch(43.20, 50.66, 27.45°)
OKLaboklab(52.76% 0.1328 0.0562)
OKLCHoklch(52.76% 0.144 22.9)
XYZxyz(20.5548, 13.2906, 6.6362)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4142 #41AFAE
analogous
#AF4179 #AF4142 #AF7741
triadic
#AF4142 #42AF41 #4142AF
tetradic
#AF4142 #79AF41 #41AFAE #7741AF
square
#AF4142 #79AF41 #41AFAE #7741AF
split-complementary
#AF4142 #41AF77 #4179AF
monochromatic
#562020 #823031 #AF4142 #C66768 #D79394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4142#FFFFFF#000000##FFFFFF
##AF41421.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)
#5D5741
Deuteranopia (green-blind)
#796F3F
Tritanopia (blue-blind)
#C02A42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4142;
/* rgb */ color: rgb(175, 65, 66);
/* oklch */ color: oklch(52.8% 0.144 22.9);
Tailwind
colors: {
  custom: {
    50: '#cd7b76',
    500: '#af4142',
    950: '#000000',
  },
}
SCSS
$custom: #af4142;
$custom-light: #cd7b76;
$custom-dark: #000000;
JSON
{
  "hex": "#af4142",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 66
  },
  "hsl": {
    "h": 359.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52763,
    "c": 0.14416,
    "h": 22.9
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#AF4142
secondary
#89C2C2
accent
#D5D452
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF4142

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

Preview Lab → · Contrast checker → · Palette generator →

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