#AF3C40#AF3C40

#AF3C40 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.1% C 0.150 H 22.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF3C40
RGBrgb(175, 60, 64)
HSLhsl(358, 49%, 46%)
HSVhsv(358, 66%, 69%)
CMYKcmyk(0%, 65.7%, 63.4%, 31.4%)
CIE-LABlab(42.34, 47.05, 23.47)
CIE-LCHlch(42.34, 52.58, 26.52°)
OKLaboklab(52.11% 0.139 0.0562)
OKLCHoklch(52.11% 0.15 22)
XYZxyz(20.2225, 12.7186, 6.2396)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C40 #3CAFAB
analogous
#AF3C79 #AF3C40 #AF713C
triadic
#AF3C40 #40AF3C #3C40AF
tetradic
#AF3C40 #79AF3C #3CAFAB #713CAF
square
#AF3C40 #79AF3C #3CAFAB #713CAF
split-complementary
#AF3C40 #3CAF71 #3C79AF
monochromatic
#541D1F #812C2F #AF3C40 #C86063 #D88D90

Accessibility & contrast

On white

5.93
#AF3C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF3C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C40
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C40#FFFFFF#000000##FFFFFF
##AF3C401.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A543F
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#C0223E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3c40;
/* rgb */ color: rgb(175, 60, 64);
/* oklch */ color: oklch(52.1% 0.150 22.0);
Tailwind
colors: {
  custom: {
    50: '#cd7874',
    500: '#af3c40',
    950: '#000000',
  },
}
SCSS
$custom: #af3c40;
$custom-light: #cd7874;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c40",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 64
  },
  "hsl": {
    "h": 357.913,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52105,
    "c": 0.14994,
    "h": 22
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#AF3C40
secondary
#84C3C1
accent
#D8D44F
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3C40

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

Preview Lab → · Contrast checker → · Palette generator →

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