#AF3340#AF3340

#AF3340 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.160 H 19.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF3340
RGBrgb(175, 51, 64)
HSLhsl(354, 55%, 44%)
HSVhsv(354, 71%, 69%)
CMYKcmyk(0%, 70.9%, 63.4%, 31.4%)
CIE-LABlab(40.98, 50.73, 21.74)
CIE-LCHlch(40.98, 55.19, 23.20°)
OKLaboklab(51.1% 0.1507 0.0523)
OKLCHoklch(51.1% 0.16 19.1)
XYZxyz(19.7905, 11.8546, 6.0956)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3340 #33AFA2
analogous
#AF337E #AF3340 #AF6433
triadic
#AF3340 #40AF33 #3340AF
tetradic
#AF3340 #7EAF33 #33AFA2 #6433AF
square
#AF3340 #7EAF33 #33AFA2 #6433AF
split-complementary
#AF3340 #33AF64 #337EAF
monochromatic
#50171D #80252F #AF3340 #CD525F #DB828B

Accessibility & contrast

On white

6.23
#AF3340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF3340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3340
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3340#FFFFFF#000000##FFFFFF
##AF33401.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545040
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#C00F39
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3340;
/* rgb */ color: rgb(175, 51, 64);
/* oklch */ color: oklch(51.1% 0.160 19.1);
Tailwind
colors: {
  custom: {
    50: '#ce7374',
    500: '#af3340',
    950: '#000000',
  },
}
SCSS
$custom: #af3340;
$custom-light: #ce7374;
$custom-dark: #000000;
JSON
{
  "hex": "#af3340",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 64
  },
  "hsl": {
    "h": 353.71,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.15953,
    "h": 19.1
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#AF3340
secondary
#7AC4BC
accent
#DECF4A
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3340

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

Preview Lab → · Contrast checker → · Palette generator →

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