#AF3333#AF3333

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

Color values

HEX#AF3333
RGBrgb(175, 51, 51)
HSLhsl(0, 55%, 44%)
HSVhsv(0, 71%, 69%)
CMYKcmyk(0%, 70.9%, 70.9%, 31.4%)
CIE-LABlab(40.77, 50.00, 29.41)
CIE-LCHlch(40.77, 58.01, 30.47°)
OKLaboklab(50.87% 0.1457 0.0677)
OKLCHoklch(50.87% 0.161 24.9)
XYZxyz(19.4627, 11.7235, 4.3694)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3333 #33AFAF
analogous
#AF3371 #AF3333 #AF7133
triadic
#AF3333 #33AF33 #3333AF
tetradic
#AF3333 #71AF33 #33AFAF #7133AF
square
#AF3333 #71AF33 #33AFAF #7133AF
split-complementary
#AF3333 #33AF71 #3371AF
monochromatic
#501717 #802525 #AF3333 #CD5252 #DB8282

Accessibility & contrast

On white

6.28
#AF3333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF3333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3333
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3333#FFFFFF#000000##FFFFFF
##AF33331.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F32
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#C00735
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3333;
/* rgb */ color: rgb(175, 51, 51);
/* oklch */ color: oklch(50.9% 0.161 24.9);
Tailwind
colors: {
  custom: {
    50: '#cf736b',
    500: '#af3333',
    950: '#000000',
  },
}
SCSS
$custom: #af3333;
$custom-light: #cf736b;
$custom-dark: #000000;
JSON
{
  "hex": "#af3333",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 0,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.16064,
    "h": 24.9
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#AF3333
secondary
#7AC4C4
accent
#DEDE4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3333

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

Preview Lab → · Contrast checker → · Palette generator →

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