#AF3A40#AF3A40

#AF3A40 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.9% C 0.152 H 21.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF3A40
RGBrgb(175, 58, 64)
HSLhsl(357, 50%, 46%)
HSVhsv(357, 67%, 69%)
CMYKcmyk(0%, 66.9%, 63.4%, 31.4%)
CIE-LABlab(42.02, 47.90, 23.07)
CIE-LCHlch(42.02, 53.17, 25.72°)
OKLaboklab(51.87% 0.1417 0.0553)
OKLCHoklch(51.87% 0.152 21.3)
XYZxyz(20.1197, 12.5130, 6.2053)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A40 #3AAFA9
analogous
#AF3A7A #AF3A40 #AF6E3A
triadic
#AF3A40 #40AF3A #3A40AF
tetradic
#AF3A40 #7AAF3A #3AAFA9 #6E3AAF
square
#AF3A40 #7AAF3A #3AAFA9 #6E3AAF
split-complementary
#AF3A40 #3AAF6E #3A7AAF
monochromatic
#531C1E #812B2F #AF3A40 #C95D62 #D98B8F

Accessibility & contrast

On white

6.00
#AF3A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AF3A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A40
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A40#FFFFFF#000000##FFFFFF
##AF3A401.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59533F
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#C01E3D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3a40;
/* rgb */ color: rgb(175, 58, 64);
/* oklch */ color: oklch(51.9% 0.152 21.3);
Tailwind
colors: {
  custom: {
    50: '#cd7774',
    500: '#af3a40',
    950: '#000000',
  },
}
SCSS
$custom: #af3a40;
$custom-light: #cd7774;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a40",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 356.923,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.15212,
    "h": 21.3
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#AF3A40
secondary
#82C3C0
accent
#DAD34E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3A40

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

Preview Lab → · Contrast checker → · Palette generator →

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