#AF342D#AF342D

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

Color values

HEX#AF342D
RGBrgb(175, 52, 45)
HSLhsl(3, 59%, 43%)
HSVhsv(3, 74%, 69%)
CMYKcmyk(0%, 70.3%, 74.3%, 31.4%)
CIE-LABlab(40.84, 49.32, 33.03)
CIE-LCHlch(40.84, 59.36, 33.81°)
OKLaboklab(50.89% 0.1423 0.0744)
OKLCHoklch(50.89% 0.161 27.6)
XYZxyz(19.3830, 11.7623, 3.7318)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF342D #2DA8AF
analogous
#AF2D67 #AF342D #AF752D
triadic
#AF342D #2DAF34 #342DAF
tetradic
#AF342D #67AF2D #2DA8AF #752DAF
square
#AF342D #67AF2D #2DA8AF #752DAF
split-complementary
#AF342D #2DAF75 #2D67AF
monochromatic
#4E1714 #7E2620 #AF342D #D05049 #DD7F7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF342D#FFFFFF#000000##FFFFFF
##AF342D1.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)
#574F2B
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C10734
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af342d;
/* rgb */ color: rgb(175, 52, 45);
/* oklch */ color: oklch(50.9% 0.161 27.6);
Tailwind
colors: {
  custom: {
    50: '#cf7366',
    500: '#af342d',
    950: '#000000',
  },
}
SCSS
$custom: #af342d;
$custom-light: #cf7366;
$custom-dark: #000000;
JSON
{
  "hex": "#af342d",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 3.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.16055,
    "h": 27.6
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#AF342D
secondary
#73C0C5
accent
#DAE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF342D

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

Preview Lab → · Contrast checker → · Palette generator →

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