#AF3336#AF3336

#AF3336 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.160 H 23.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF3336
RGBrgb(175, 51, 54)
HSLhsl(359, 55%, 44%)
HSVhsv(359, 71%, 69%)
CMYKcmyk(0%, 70.9%, 69.1%, 31.4%)
CIE-LABlab(40.82, 50.15, 27.66)
CIE-LCHlch(40.82, 57.27, 28.88°)
OKLaboklab(50.92% 0.1468 0.0643)
OKLCHoklch(50.92% 0.16 23.7)
XYZxyz(19.5310, 11.7508, 4.7290)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3336 #33AFAC
analogous
#AF3374 #AF3336 #AF6E33
triadic
#AF3336 #36AF33 #3336AF
tetradic
#AF3336 #74AF33 #33AFAC #6E33AF
square
#AF3336 #74AF33 #33AFAC #6E33AF
split-complementary
#AF3336 #33AF6E #3374AF
monochromatic
#501719 #802527 #AF3336 #CD5255 #DB8284

Accessibility & contrast

On white

6.27
#AF3336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF3336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3336
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3336#FFFFFF#000000##FFFFFF
##AF33361.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F35
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#C00935
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3336;
/* rgb */ color: rgb(175, 51, 54);
/* oklch */ color: oklch(50.9% 0.160 23.7);
Tailwind
colors: {
  custom: {
    50: '#ce736d',
    500: '#af3336',
    950: '#000000',
  },
}
SCSS
$custom: #af3336;
$custom-light: #ce736d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3336",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 54
  },
  "hsl": {
    "h": 358.548,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.16029,
    "h": 23.7
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#AF3336
secondary
#7AC4C2
accent
#DEDB4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF3336

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

Preview Lab → · Contrast checker → · Palette generator →

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