#AF333C#AF333C

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

Color values

HEX#AF333C
RGBrgb(175, 51, 60)
HSLhsl(356, 55%, 44%)
HSVhsv(356, 71%, 69%)
CMYKcmyk(0%, 70.9%, 65.7%, 31.4%)
CIE-LABlab(40.91, 50.49, 24.12)
CIE-LCHlch(40.91, 55.95, 25.53°)
OKLaboklab(51.02% 0.1491 0.0572)
OKLCHoklch(51.02% 0.16 21)
XYZxyz(19.6807, 11.8107, 5.5175)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF333C #33AFA6
analogous
#AF337A #AF333C #AF6833
triadic
#AF333C #3CAF33 #333CAF
tetradic
#AF333C #7AAF33 #33AFA6 #6833AF
square
#AF333C #7AAF33 #33AFA6 #6833AF
split-complementary
#AF333C #33AF68 #337AAF
monochromatic
#50171C #80252C #AF333C #CD525B #DB8288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF333C#FFFFFF#000000##FFFFFF
##AF333C1.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)
#55503B
Deuteranopia (green-blind)
#746A38
Tritanopia (blue-blind)
#C00D37
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af333c;
/* rgb */ color: rgb(175, 51, 60);
/* oklch */ color: oklch(51.0% 0.160 21.0);
Tailwind
colors: {
  custom: {
    50: '#ce7371',
    500: '#af333c',
    950: '#000000',
  },
}
SCSS
$custom: #af333c;
$custom-light: #ce7371;
$custom-dark: #000000;
JSON
{
  "hex": "#af333c",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 60
  },
  "hsl": {
    "h": 355.645,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.15975,
    "h": 21
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#AF333C
secondary
#7AC4BE
accent
#DED34A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF333C

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

Preview Lab → · Contrast checker → · Palette generator →

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