#AF343E#AF343E

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

Color values

HEX#AF343E
RGBrgb(175, 52, 62)
HSLhsl(355, 54%, 45%)
HSVhsv(355, 70%, 69%)
CMYKcmyk(0%, 70.3%, 64.6%, 31.4%)
CIE-LABlab(41.09, 50.22, 23.11)
CIE-LCHlch(41.09, 55.28, 24.71°)
OKLaboklab(51.16% 0.1487 0.0552)
OKLCHoklch(51.16% 0.159 20.4)
XYZxyz(19.7787, 11.9206, 5.8159)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF343E #34AFA5
analogous
#AF347C #AF343E #AF6834
triadic
#AF343E #3EAF34 #343EAF
tetradic
#AF343E #7CAF34 #34AFA5 #6834AF
square
#AF343E #7CAF34 #34AFA5 #6834AF
split-complementary
#AF343E #34AF68 #347CAF
monochromatic
#51181D #80262D #AF343E #CC545E #DA838A

Accessibility & contrast

On white

6.21
#AF343E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF343E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF343E#FFFFFF#000000##FFFFFF
##AF343E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503D
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#C01139
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af343e;
/* rgb */ color: rgb(175, 52, 62);
/* oklch */ color: oklch(51.2% 0.159 20.4);
Tailwind
colors: {
  custom: {
    50: '#ce7473',
    500: '#af343e',
    950: '#000000',
  },
}
SCSS
$custom: #af343e;
$custom-light: #ce7473;
$custom-dark: #000000;
JSON
{
  "hex": "#af343e",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 62
  },
  "hsl": {
    "h": 355.122,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.1586,
    "h": 20.4
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#AF343E
secondary
#7BC4BE
accent
#DED24A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF343E

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

Preview Lab → · Contrast checker → · Palette generator →

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