#AF3121#AF3121

#AF3121 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 30.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF3121
RGBrgb(175, 49, 33)
HSLhsl(7, 68%, 41%)
HSVhsv(7, 81%, 69%)
CMYKcmyk(0%, 72%, 81.1%, 31.4%)
CIE-LABlab(40.28, 50.03, 39.15)
CIE-LCHlch(40.28, 63.53, 38.05°)
OKLaboklab(50.44% 0.142 0.0843)
OKLCHoklch(50.44% 0.165 30.7)
XYZxyz(19.0543, 11.4233, 2.6402)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3121 #219FAF
analogous
#AF2158 #AF3121 #AF7821
triadic
#AF3121 #21AF31 #3121AF
tetradic
#AF3121 #58AF21 #219FAF #7821AF
square
#AF3121 #58AF21 #219FAF #7821AF
split-complementary
#AF3121 #21AF78 #2158AF
monochromatic
#48140E #7C2317 #AF3121 #D94734 #E37668

Accessibility & contrast

On white

6.39
#AF3121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF3121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3121
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3121#FFFFFF#000000##FFFFFF
##AF31211.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1E
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3121;
/* rgb */ color: rgb(175, 49, 33);
/* oklch */ color: oklch(50.4% 0.165 30.7);
Tailwind
colors: {
  custom: {
    50: '#d0725e',
    500: '#af3121',
    950: '#000000',
  },
}
SCSS
$custom: #af3121;
$custom-light: #d0725e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3121",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 33
  },
  "hsl": {
    "h": 6.761,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.16518,
    "h": 30.7
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#AF3121
secondary
#64BDC8
accent
#D7EB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF3121

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

Preview Lab → · Contrast checker → · Palette generator →

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