#AF332A#AF332A

#AF332A is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.162 H 28.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF332A
RGBrgb(175, 51, 42)
HSLhsl(4, 61%, 43%)
HSVhsv(4, 76%, 69%)
CMYKcmyk(0%, 70.9%, 76%, 31.4%)
CIE-LABlab(40.66, 49.59, 34.56)
CIE-LCHlch(40.66, 60.44, 34.87°)
OKLaboklab(50.75% 0.1425 0.077)
OKLCHoklch(50.75% 0.162 28.4)
XYZxyz(19.2831, 11.6517, 3.4237)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF332A #2AA6AF
analogous
#AF2A64 #AF332A #AF752A
triadic
#AF332A #2AAF33 #332AAF
tetradic
#AF332A #64AF2A #2AA6AF #752AAF
square
#AF332A #64AF2A #2AA6AF #752AAF
split-complementary
#AF332A #2AAF75 #2A64AF
monochromatic
#4C1612 #7E251E #AF332A #D24E44 #DE7C75

Accessibility & contrast

On white

6.31
#AF332A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF332A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF332A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF332A#FFFFFF#000000##FFFFFF
##AF332A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#C10232
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af332a;
/* rgb */ color: rgb(175, 51, 42);
/* oklch */ color: oklch(50.7% 0.162 28.4);
Tailwind
colors: {
  custom: {
    50: '#cf7364',
    500: '#af332a',
    950: '#000000',
  },
}
SCSS
$custom: #af332a;
$custom-light: #cf7364;
$custom-dark: #000000;
JSON
{
  "hex": "#af332a",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 42
  },
  "hsl": {
    "h": 4.06,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.16195,
    "h": 28.4
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#AF332A
secondary
#6FC0C6
accent
#DAE443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF332A

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

Preview Lab → · Contrast checker → · Palette generator →

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