#AF343B#AF343B

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

Color values

HEX#AF343B
RGBrgb(175, 52, 59)
HSLhsl(357, 54%, 45%)
HSVhsv(357, 70%, 69%)
CMYKcmyk(0%, 70.3%, 66.3%, 31.4%)
CIE-LABlab(41.04, 50.04, 24.89)
CIE-LCHlch(41.04, 55.89, 26.44°)
OKLaboklab(51.11% 0.1475 0.0589)
OKLCHoklch(51.11% 0.159 21.8)
XYZxyz(19.6987, 11.8886, 5.3943)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF343B #34AFA8
analogous
#AF3479 #AF343B #AF6A34
triadic
#AF343B #3BAF34 #343BAF
tetradic
#AF343B #79AF34 #34AFA8 #6A34AF
square
#AF343B #79AF34 #34AFA8 #6A34AF
split-complementary
#AF343B #34AF6A #3479AF
monochromatic
#51181B #80262B #AF343B #CC545B #DA8388

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF343B#FFFFFF#000000##FFFFFF
##AF343B1.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)
#56503A
Deuteranopia (green-blind)
#756A37
Tritanopia (blue-blind)
#C00F38
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af343b;
/* rgb */ color: rgb(175, 52, 59);
/* oklch */ color: oklch(51.1% 0.159 21.8);
Tailwind
colors: {
  custom: {
    50: '#ce7471',
    500: '#af343b',
    950: '#000000',
  },
}
SCSS
$custom: #af343b;
$custom-light: #ce7471;
$custom-dark: #000000;
JSON
{
  "hex": "#af343b",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 59
  },
  "hsl": {
    "h": 356.585,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.15882,
    "h": 21.8
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF343B

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

Preview Lab → · Contrast checker → · Palette generator →

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