#AF4E42#AF4E42

#AF4E42 is a mid, vivid red. Relative luminance 0.150; OKLCH L 54.6% C 0.130 H 29.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF4E42
RGBrgb(175, 78, 66)
HSLhsl(7, 45%, 47%)
HSVhsv(7, 62%, 69%)
CMYKcmyk(0%, 55.4%, 62.3%, 31.4%)
CIE-LABlab(45.58, 38.70, 26.38)
CIE-LCHlch(45.58, 46.84, 34.27°)
OKLaboklab(54.56% 0.1132 0.063)
OKLCHoklch(54.56% 0.13 29.1)
XYZxyz(21.3888, 14.9587, 6.9142)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E42 #42A3AF
analogous
#AF426C #AF4E42 #AF8542
triadic
#AF4E42 #42AF4E #4E42AF
tetradic
#AF4E42 #6CAF42 #42A3AF #8542AF
square
#AF4E42 #6CAF42 #42A3AF #8542AF
split-complementary
#AF4E42 #42AF85 #426CAF
monochromatic
#562620 #833A31 #AF4E42 #C67268 #D79C95

Accessibility & contrast

On white

5.26
#AF4E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF4E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E42
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E42#FFFFFF#000000##FFFFFF
##AF4E421.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F40
Deuteranopia (green-blind)
#7F7440
Tritanopia (blue-blind)
#BF3C4B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4e42;
/* rgb */ color: rgb(175, 78, 66);
/* oklch */ color: oklch(54.6% 0.130 29.1);
Tailwind
colors: {
  custom: {
    50: '#cc8276',
    500: '#af4e42',
    950: '#000000',
  },
}
SCSS
$custom: #af4e42;
$custom-light: #cc8276;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e42",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 6.606,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.12952,
    "h": 29.1
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#AF4E42
secondary
#8ABCC2
accent
#C7D553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AF4E42

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

Preview Lab → · Contrast checker → · Palette generator →

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