#AF3328#AF3328

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

Color values

HEX#AF3328
RGBrgb(175, 51, 40)
HSLhsl(5, 63%, 42%)
HSVhsv(5, 77%, 69%)
CMYKcmyk(0%, 70.9%, 77.1%, 31.4%)
CIE-LABlab(40.63, 49.51, 35.67)
CIE-LCHlch(40.63, 61.02, 35.77°)
OKLaboklab(50.72% 0.1418 0.0789)
OKLCHoklch(50.72% 0.162 29.1)
XYZxyz(19.2482, 11.6377, 3.2399)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3328 #28A4AF
analogous
#AF2861 #AF3328 #AF7728
triadic
#AF3328 #28AF33 #3328AF
tetradic
#AF3328 #61AF28 #28A4AF #7728AF
square
#AF3328 #61AF28 #28A4AF #7728AF
split-complementary
#AF3328 #28AF77 #2861AF
monochromatic
#4B1611 #7D241D #AF3328 #D44D41 #DF7B73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3328#FFFFFF#000000##FFFFFF
##AF33281.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)
#574F26
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#C10132
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3328;
/* rgb */ color: rgb(175, 51, 40);
/* oklch */ color: oklch(50.7% 0.162 29.1);
Tailwind
colors: {
  custom: {
    50: '#cf7363',
    500: '#af3328',
    950: '#000000',
  },
}
SCSS
$custom: #af3328;
$custom-light: #cf7363;
$custom-dark: #000000;
JSON
{
  "hex": "#af3328",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 40
  },
  "hsl": {
    "h": 4.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.16227,
    "h": 29.1
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#AF3328
secondary
#6DBFC6
accent
#D8E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF3328

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

Preview Lab → · Contrast checker → · Palette generator →

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