#AF3F40#AF3F40

#AF3F40 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.5% C 0.147 H 23.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3F40
RGBrgb(175, 63, 64)
HSLhsl(359, 47%, 47%)
HSVhsv(359, 64%, 69%)
CMYKcmyk(0%, 64%, 63.4%, 31.4%)
CIE-LABlab(42.83, 45.73, 24.10)
CIE-LCHlch(42.83, 51.69, 27.79°)
OKLaboklab(52.47% 0.1348 0.0576)
OKLCHoklch(52.47% 0.147 23.1)
XYZxyz(20.3841, 13.0419, 6.2934)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F40 #3FAFAE
analogous
#AF3F78 #AF3F40 #AF763F
triadic
#AF3F40 #40AF3F #3F40AF
tetradic
#AF3F40 #78AF3F #3FAFAE #763FAF
square
#AF3F40 #78AF3F #3FAFAE #763FAF
split-complementary
#AF3F40 #3FAF76 #3F78AF
monochromatic
#551F1F #822F30 #AF3F40 #C76465 #D79192

Accessibility & contrast

On white

5.82
#AF3F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F40
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F40#FFFFFF#000000##FFFFFF
##AF3F401.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#C02740
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3f40;
/* rgb */ color: rgb(175, 63, 64);
/* oklch */ color: oklch(52.5% 0.147 23.1);
Tailwind
colors: {
  custom: {
    50: '#cd7a74',
    500: '#af3f40',
    950: '#000000',
  },
}
SCSS
$custom: #af3f40;
$custom-light: #cd7a74;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f40",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 64
  },
  "hsl": {
    "h": 359.464,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.14663,
    "h": 23.1
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#AF3F40
secondary
#87C3C2
accent
#D7D551
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3F40

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

Preview Lab → · Contrast checker → · Palette generator →

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