#AF4342#AF4342

#AF4342 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.0% C 0.142 H 23.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF4342
RGBrgb(175, 67, 66)
HSLhsl(1, 45%, 47%)
HSVhsv(1, 62%, 69%)
CMYKcmyk(0%, 61.7%, 62.3%, 31.4%)
CIE-LABlab(43.54, 44.04, 23.80)
CIE-LCHlch(43.54, 50.06, 28.39°)
OKLaboklab(53.02% 0.1299 0.0572)
OKLCHoklch(53.02% 0.142 23.8)
XYZxyz(20.6717, 13.5243, 6.6751)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4342 #42AEAF
analogous
#AF4278 #AF4342 #AF7942
triadic
#AF4342 #42AF43 #4342AF
tetradic
#AF4342 #78AF42 #42AEAF #7942AF
square
#AF4342 #78AF42 #42AEAF #7942AF
split-complementary
#AF4342 #42AF79 #4278AF
monochromatic
#562120 #833231 #AF4342 #C66968 #D79595

Accessibility & contrast

On white

5.67
#AF4342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF4342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4342
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4342#FFFFFF#000000##FFFFFF
##AF43421.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5841
Deuteranopia (green-blind)
#7A6F3F
Tritanopia (blue-blind)
#C02D44
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4342;
/* rgb */ color: rgb(175, 67, 66);
/* oklch */ color: oklch(53.0% 0.142 23.8);
Tailwind
colors: {
  custom: {
    50: '#cd7c76',
    500: '#af4342',
    950: '#000000',
  },
}
SCSS
$custom: #af4342;
$custom-light: #cd7c76;
$custom-dark: #000000;
JSON
{
  "hex": "#af4342",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 66
  },
  "hsl": {
    "h": 0.55,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.1419,
    "h": 23.8
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#AF4342
secondary
#8AC2C2
accent
#D4D553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF4342

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

Preview Lab → · Contrast checker → · Palette generator →

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