#AF4542#AF4542

#AF4542 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.3% C 0.140 H 24.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF4542
RGBrgb(175, 69, 66)
HSLhsl(2, 45%, 47%)
HSVhsv(2, 62%, 69%)
CMYKcmyk(0%, 60.6%, 62.3%, 31.4%)
CIE-LABlab(43.90, 43.10, 24.25)
CIE-LCHlch(43.90, 49.45, 29.36°)
OKLaboklab(53.29% 0.1269 0.0582)
OKLCHoklch(53.29% 0.14 24.6)
XYZxyz(20.7926, 13.7663, 6.7154)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4542 #42ACAF
analogous
#AF4276 #AF4542 #AF7B42
triadic
#AF4542 #42AF45 #4542AF
tetradic
#AF4542 #76AF42 #42ACAF #7B42AF
square
#AF4542 #76AF42 #42ACAF #7B42AF
split-complementary
#AF4542 #42AF7B #4276AF
monochromatic
#562220 #833331 #AF4542 #C66B68 #D79695

Accessibility & contrast

On white

5.60
#AF4542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF4542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4542
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4542#FFFFFF#000000##FFFFFF
##AF45421.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A41
Deuteranopia (green-blind)
#7A703F
Tritanopia (blue-blind)
#BF3045
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4542;
/* rgb */ color: rgb(175, 69, 66);
/* oklch */ color: oklch(53.3% 0.140 24.6);
Tailwind
colors: {
  custom: {
    50: '#cd7d76',
    500: '#af4542',
    950: '#000000',
  },
}
SCSS
$custom: #af4542;
$custom-light: #cd7d76;
$custom-dark: #000000;
JSON
{
  "hex": "#af4542",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 66
  },
  "hsl": {
    "h": 1.651,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.13963,
    "h": 24.6
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#AF4542
secondary
#8AC1C2
accent
#D1D553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF4542

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

Preview Lab → · Contrast checker → · Palette generator →

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