#AF342B#AF342B

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

Color values

HEX#AF342B
RGBrgb(175, 52, 43)
HSLhsl(4, 61%, 43%)
HSVhsv(4, 75%, 69%)
CMYKcmyk(0%, 70.3%, 75.4%, 31.4%)
CIE-LABlab(40.81, 49.24, 34.16)
CIE-LCHlch(40.81, 59.92, 34.75°)
OKLaboklab(50.87% 0.1416 0.0764)
OKLCHoklch(50.87% 0.161 28.3)
XYZxyz(19.3454, 11.7473, 3.5338)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF342B #2BA6AF
analogous
#AF2B64 #AF342B #AF762B
triadic
#AF342B #2BAF34 #342BAF
tetradic
#AF342B #64AF2B #2BA6AF #762BAF
square
#AF342B #64AF2B #2BA6AF #762BAF
split-complementary
#AF342B #2BAF76 #2B64AF
monochromatic
#4D1713 #7E251F #AF342B #D14F46 #DE7E77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF342B#FFFFFF#000000##FFFFFF
##AF342B1.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)
#584F29
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#C10633
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af342b;
/* rgb */ color: rgb(175, 52, 43);
/* oklch */ color: oklch(50.9% 0.161 28.3);
Tailwind
colors: {
  custom: {
    50: '#cf7365',
    500: '#af342b',
    950: '#000000',
  },
}
SCSS
$custom: #af342b;
$custom-light: #cf7365;
$custom-dark: #000000;
JSON
{
  "hex": "#af342b",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 4.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.16087,
    "h": 28.3
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#AF342B
secondary
#70C0C5
accent
#D9E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF342B

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

Preview Lab → · Contrast checker → · Palette generator →

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