#AF342E#AF342E

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

Color values

HEX#AF342E
RGBrgb(175, 52, 46)
HSLhsl(3, 58%, 43%)
HSVhsv(3, 74%, 69%)
CMYKcmyk(0%, 70.3%, 73.7%, 31.4%)
CIE-LABlab(40.85, 49.37, 32.46)
CIE-LCHlch(40.85, 59.08, 33.32°)
OKLaboklab(50.91% 0.1426 0.0734)
OKLCHoklch(50.91% 0.16 27.2)
XYZxyz(19.4025, 11.7701, 3.8344)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF342E #2EA9AF
analogous
#AF2E68 #AF342E #AF742E
triadic
#AF342E #2EAF34 #342EAF
tetradic
#AF342E #68AF2E #2EA9AF #742EAF
square
#AF342E #68AF2E #2EA9AF #742EAF
split-complementary
#AF342E #2EAF74 #2E68AF
monochromatic
#4E1715 #7F2621 #AF342E #D0514B #DC807B

Accessibility & contrast

On white

6.26
#AF342E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF342E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF342E#FFFFFF#000000##FFFFFF
##AF342E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#C10834
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af342e;
/* rgb */ color: rgb(175, 52, 46);
/* oklch */ color: oklch(50.9% 0.160 27.2);
Tailwind
colors: {
  custom: {
    50: '#cf7367',
    500: '#af342e',
    950: '#000000',
  },
}
SCSS
$custom: #af342e;
$custom-light: #cf7367;
$custom-dark: #000000;
JSON
{
  "hex": "#af342e",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 2.791,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.16039,
    "h": 27.2
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#AF342E
secondary
#74C1C5
accent
#DAE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF342E

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

Preview Lab → · Contrast checker → · Palette generator →

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