#AF3640#AF3640

#AF3640 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.4% C 0.156 H 20.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF3640
RGBrgb(175, 54, 64)
HSLhsl(355, 53%, 45%)
HSVhsv(355, 69%, 69%)
CMYKcmyk(0%, 69.1%, 63.4%, 31.4%)
CIE-LABlab(41.41, 49.55, 22.29)
CIE-LCHlch(41.41, 54.33, 24.22°)
OKLaboklab(51.42% 0.147 0.0535)
OKLCHoklch(51.42% 0.156 20)
XYZxyz(19.9258, 12.1253, 6.1407)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3640 #36AFA5
analogous
#AF367D #AF3640 #AF6836
triadic
#AF3640 #40AF36 #3640AF
tetradic
#AF3640 #7DAF36 #36AFA5 #6836AF
square
#AF3640 #7DAF36 #36AFA5 #6836AF
split-complementary
#AF3640 #36AF68 #367DAF
monochromatic
#51191E #80282F #AF3640 #CB5761 #DA868D

Accessibility & contrast

On white

6.13
#AF3640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF3640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3640
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3640#FFFFFF#000000##FFFFFF
##AF36401.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565140
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#C0163B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3640;
/* rgb */ color: rgb(175, 54, 64);
/* oklch */ color: oklch(51.4% 0.156 20.0);
Tailwind
colors: {
  custom: {
    50: '#ce7574',
    500: '#af3640',
    950: '#000000',
  },
}
SCSS
$custom: #af3640;
$custom-light: #ce7574;
$custom-dark: #000000;
JSON
{
  "hex": "#af3640",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 64
  },
  "hsl": {
    "h": 355.041,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.15641,
    "h": 20
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#AF3640
secondary
#7DC3BE
accent
#DCD04C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3640

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

Preview Lab → · Contrast checker → · Palette generator →

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