#AF4A42#AF4A42

#AF4A42 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.0% C 0.134 H 27.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF4A42
RGBrgb(175, 74, 66)
HSLhsl(4, 45%, 47%)
HSVhsv(4, 62%, 69%)
CMYKcmyk(0%, 57.7%, 62.3%, 31.4%)
CIE-LABlab(44.81, 40.69, 25.41)
CIE-LCHlch(44.81, 47.98, 31.98°)
OKLaboklab(53.98% 0.1194 0.0608)
OKLCHoklch(53.98% 0.134 27)
XYZxyz(21.1133, 14.4075, 6.8223)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A42 #42A7AF
analogous
#AF4270 #AF4A42 #AF8142
triadic
#AF4A42 #42AF4A #4A42AF
tetradic
#AF4A42 #70AF42 #42A7AF #8142AF
square
#AF4A42 #70AF42 #42A7AF #8142AF
split-complementary
#AF4A42 #42AF81 #4270AF
monochromatic
#562420 #833731 #AF4A42 #C66F68 #D79995

Accessibility & contrast

On white

5.41
#AF4A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF4A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A42
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A42#FFFFFF#000000##FFFFFF
##AF4A421.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D41
Deuteranopia (green-blind)
#7D7240
Tritanopia (blue-blind)
#BF3749
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4a42;
/* rgb */ color: rgb(175, 74, 66);
/* oklch */ color: oklch(54.0% 0.134 27.0);
Tailwind
colors: {
  custom: {
    50: '#cd8076',
    500: '#af4a42',
    950: '#000000',
  },
}
SCSS
$custom: #af4a42;
$custom-light: #cd8076;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a42",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 66
  },
  "hsl": {
    "h": 4.404,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.13398,
    "h": 27
  },
  "luminance": 0.14405
}

Semantic roles & 50–950 ramp

primary
#AF4A42
secondary
#8ABEC2
accent
#CBD553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF4A42

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

Preview Lab → · Contrast checker → · Palette generator →

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