#AF343A#AF343A

#AF343A is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.159 H 22.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF343A
RGBrgb(175, 52, 58)
HSLhsl(357, 54%, 45%)
HSVhsv(357, 70%, 69%)
CMYKcmyk(0%, 70.3%, 66.9%, 31.4%)
CIE-LABlab(41.02, 49.98, 25.48)
CIE-LCHlch(41.02, 56.10, 27.01°)
OKLaboklab(51.09% 0.1471 0.0601)
OKLCHoklch(51.09% 0.159 22.2)
XYZxyz(19.6730, 11.8783, 5.2590)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF343A #34AFA9
analogous
#AF3478 #AF343A #AF6C34
triadic
#AF343A #3AAF34 #343AAF
tetradic
#AF343A #78AF34 #34AFA9 #6C34AF
square
#AF343A #78AF34 #34AFA9 #6C34AF
split-complementary
#AF343A #34AF6C #3478AF
monochromatic
#51181B #80262A #AF343A #CC545A #DA8387

Accessibility & contrast

On white

6.22
#AF343A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF343A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF343A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF343A#FFFFFF#000000##FFFFFF
##AF343A1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565039
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#C00F37
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af343a;
/* rgb */ color: rgb(175, 52, 58);
/* oklch */ color: oklch(51.1% 0.159 22.2);
Tailwind
colors: {
  custom: {
    50: '#ce7470',
    500: '#af343a',
    950: '#000000',
  },
}
SCSS
$custom: #af343a;
$custom-light: #ce7470;
$custom-dark: #000000;
JSON
{
  "hex": "#af343a",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 58
  },
  "hsl": {
    "h": 357.073,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.1589,
    "h": 22.2
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#AF343A
secondary
#7BC4C0
accent
#DED64A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF343A

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

Preview Lab → · Contrast checker → · Palette generator →

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