#AF342C#AF342C

#AF342C is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.161 H 28.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF342C
RGBrgb(175, 52, 44)
HSLhsl(4, 60%, 43%)
HSVhsv(4, 75%, 69%)
CMYKcmyk(0%, 70.3%, 74.9%, 31.4%)
CIE-LABlab(40.82, 49.28, 33.59)
CIE-LCHlch(40.82, 59.64, 34.28°)
OKLaboklab(50.88% 0.1419 0.0754)
OKLCHoklch(50.88% 0.161 28)
XYZxyz(19.3640, 11.7547, 3.6316)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF342C #2CA7AF
analogous
#AF2C65 #AF342C #AF752C
triadic
#AF342C #2CAF34 #342CAF
tetradic
#AF342C #65AF2C #2CA7AF #752CAF
square
#AF342C #65AF2C #2CA7AF #752CAF
split-complementary
#AF342C #2CAF75 #2C65AF
monochromatic
#4D1713 #7E2520 #AF342C #D15047 #DD7E78

Accessibility & contrast

On white

6.27
#AF342C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF342C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF342C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF342C#FFFFFF#000000##FFFFFF
##AF342C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2A
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#C10733
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af342c;
/* rgb */ color: rgb(175, 52, 44);
/* oklch */ color: oklch(50.9% 0.161 28.0);
Tailwind
colors: {
  custom: {
    50: '#cf7366',
    500: '#af342c',
    950: '#000000',
  },
}
SCSS
$custom: #af342c;
$custom-light: #cf7366;
$custom-dark: #000000;
JSON
{
  "hex": "#af342c",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 3.664,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50878,
    "c": 0.1607,
    "h": 28
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#AF342C
secondary
#72C0C5
accent
#D9E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF342C

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

Preview Lab → · Contrast checker → · Palette generator →

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