#AF333A#AF333A

#AF333A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.160 H 21.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF333A
RGBrgb(175, 51, 58)
HSLhsl(357, 55%, 44%)
HSVhsv(357, 71%, 69%)
CMYKcmyk(0%, 70.9%, 66.9%, 31.4%)
CIE-LABlab(40.88, 50.37, 25.30)
CIE-LCHlch(40.88, 56.37, 26.67°)
OKLaboklab(50.99% 0.1484 0.0597)
OKLCHoklch(50.99% 0.16 21.9)
XYZxyz(19.6288, 11.7900, 5.2443)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF333A #33AFA8
analogous
#AF3378 #AF333A #AF6A33
triadic
#AF333A #3AAF33 #333AAF
tetradic
#AF333A #78AF33 #33AFA8 #6A33AF
square
#AF333A #78AF33 #33AFA8 #6A33AF
split-complementary
#AF333A #33AF6A #3378AF
monochromatic
#50171B #80252A #AF333A #CD5259 #DB8287

Accessibility & contrast

On white

6.25
#AF333A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF333A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF333A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF333A#FFFFFF#000000##FFFFFF
##AF333A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555039
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#C00B37
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af333a;
/* rgb */ color: rgb(175, 51, 58);
/* oklch */ color: oklch(51.0% 0.160 21.9);
Tailwind
colors: {
  custom: {
    50: '#ce7370',
    500: '#af333a',
    950: '#000000',
  },
}
SCSS
$custom: #af333a;
$custom-light: #ce7370;
$custom-dark: #000000;
JSON
{
  "hex": "#af333a",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 58
  },
  "hsl": {
    "h": 356.613,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.1599,
    "h": 21.9
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#AF333A
secondary
#7AC4C0
accent
#DED64A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF333A

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

Preview Lab → · Contrast checker → · Palette generator →

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