#AF333F#AF333F

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

Color values

HEX#AF333F
RGBrgb(175, 51, 63)
HSLhsl(354, 55%, 44%)
HSVhsv(354, 71%, 69%)
CMYKcmyk(0%, 70.9%, 64%, 31.4%)
CIE-LABlab(40.97, 50.67, 22.33)
CIE-LCHlch(40.97, 55.37, 23.79°)
OKLaboklab(51.08% 0.1503 0.0535)
OKLCHoklch(51.08% 0.16 19.6)
XYZxyz(19.7623, 11.8433, 5.9470)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF333F #33AFA3
analogous
#AF337D #AF333F #AF6533
triadic
#AF333F #3FAF33 #333FAF
tetradic
#AF333F #7DAF33 #33AFA3 #6533AF
square
#AF333F #7DAF33 #33AFA3 #6533AF
split-complementary
#AF333F #33AF65 #337DAF
monochromatic
#50171D #80252E #AF333F #CD525E #DB828A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF333F#FFFFFF#000000##FFFFFF
##AF333F1.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)
#55503F
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#C00E38
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af333f;
/* rgb */ color: rgb(175, 51, 63);
/* oklch */ color: oklch(51.1% 0.160 19.6);
Tailwind
colors: {
  custom: {
    50: '#ce7374',
    500: '#af333f',
    950: '#000000',
  },
}
SCSS
$custom: #af333f;
$custom-light: #ce7374;
$custom-dark: #000000;
JSON
{
  "hex": "#af333f",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 63
  },
  "hsl": {
    "h": 354.194,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.15957,
    "h": 19.6
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#AF333F
secondary
#7AC4BD
accent
#DED04A
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF333F

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

Preview Lab → · Contrast checker → · Palette generator →

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