#AF333E#AF333E

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

Color values

HEX#AF333E
RGBrgb(175, 51, 62)
HSLhsl(355, 55%, 44%)
HSVhsv(355, 71%, 69%)
CMYKcmyk(0%, 70.9%, 64.6%, 31.4%)
CIE-LABlab(40.95, 50.61, 22.93)
CIE-LCHlch(40.95, 55.56, 24.37°)
OKLaboklab(51.06% 0.1499 0.0548)
OKLCHoklch(51.06% 0.16 20.1)
XYZxyz(19.7346, 11.8323, 5.8012)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF333E #33AFA4
analogous
#AF337C #AF333E #AF6633
triadic
#AF333E #3EAF33 #333EAF
tetradic
#AF333E #7CAF33 #33AFA4 #6633AF
square
#AF333E #7CAF33 #33AFA4 #6633AF
split-complementary
#AF333E #33AF66 #337CAF
monochromatic
#50171C #80252D #AF333E #CD525D #DB828A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF333E#FFFFFF#000000##FFFFFF
##AF333E1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503E
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#C00E38
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af333e;
/* rgb */ color: rgb(175, 51, 62);
/* oklch */ color: oklch(51.1% 0.160 20.1);
Tailwind
colors: {
  custom: {
    50: '#ce7373',
    500: '#af333e',
    950: '#000000',
  },
}
SCSS
$custom: #af333e;
$custom-light: #ce7373;
$custom-dark: #000000;
JSON
{
  "hex": "#af333e",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 62
  },
  "hsl": {
    "h": 354.677,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.15962,
    "h": 20.1
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#AF333E
secondary
#7AC4BD
accent
#DED14A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF333E

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

Preview Lab → · Contrast checker → · Palette generator →

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