#AF333D#AF333D

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

Color values

HEX#AF333D
RGBrgb(175, 51, 61)
HSLhsl(355, 55%, 44%)
HSVhsv(355, 71%, 69%)
CMYKcmyk(0%, 70.9%, 65.1%, 31.4%)
CIE-LABlab(40.93, 50.55, 23.52)
CIE-LCHlch(40.93, 55.75, 24.96°)
OKLaboklab(51.04% 0.1495 0.056)
OKLCHoklch(51.04% 0.16 20.5)
XYZxyz(19.7074, 11.8214, 5.6580)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF333D #33AFA5
analogous
#AF337B #AF333D #AF6733
triadic
#AF333D #3DAF33 #333DAF
tetradic
#AF333D #7BAF33 #33AFA5 #6733AF
square
#AF333D #7BAF33 #33AFA5 #6733AF
split-complementary
#AF333D #33AF67 #337BAF
monochromatic
#50171C #80252C #AF333D #CD525C #DB8289

Accessibility & contrast

On white

6.24
#AF333D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF333D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF333D#FFFFFF#000000##FFFFFF
##AF333D1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503C
Deuteranopia (green-blind)
#746A39
Tritanopia (blue-blind)
#C00D38
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af333d;
/* rgb */ color: rgb(175, 51, 61);
/* oklch */ color: oklch(51.0% 0.160 20.5);
Tailwind
colors: {
  custom: {
    50: '#ce7372',
    500: '#af333d',
    950: '#000000',
  },
}
SCSS
$custom: #af333d;
$custom-light: #ce7372;
$custom-dark: #000000;
JSON
{
  "hex": "#af333d",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 61
  },
  "hsl": {
    "h": 355.161,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.15968,
    "h": 20.5
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

primary
#AF333D
secondary
#7AC4BE
accent
#DED24A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF333D

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

Preview Lab → · Contrast checker → · Palette generator →

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