#AF2B21#AF2B21

#AF2B21 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 29.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2B21
RGBrgb(175, 43, 33)
HSLhsl(4, 68%, 41%)
HSVhsv(4, 81%, 69%)
CMYKcmyk(0%, 75.4%, 81.1%, 31.4%)
CIE-LABlab(39.50, 52.19, 38.39)
CIE-LCHlch(39.50, 64.78, 36.34°)
OKLaboklab(49.86% 0.1488 0.0826)
OKLCHoklch(49.86% 0.17 29)
XYZxyz(18.8199, 10.9545, 2.5620)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B21 #21A5AF
analogous
#AF215E #AF2B21 #AF7221
triadic
#AF2B21 #21AF2B #2B21AF
tetradic
#AF2B21 #5EAF21 #21A5AF #7221AF
square
#AF2B21 #5EAF21 #21A5AF #7221AF
split-complementary
#AF2B21 #21AF72 #215EAF
monochromatic
#48120E #7C1E17 #AF2B21 #D94034 #E37168

Accessibility & contrast

On white

6.58
#AF2B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B21
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B21#FFFFFF#000000##FFFFFF
##AF2B211.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1E
Deuteranopia (green-blind)
#74681B
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b21;
/* rgb */ color: rgb(175, 43, 33);
/* oklch */ color: oklch(49.9% 0.170 29.0);
Tailwind
colors: {
  custom: {
    50: '#d06f5e',
    500: '#af2b21',
    950: '#000000',
  },
}
SCSS
$custom: #af2b21;
$custom-light: #d06f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b21",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 33
  },
  "hsl": {
    "h": 4.225,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.17018,
    "h": 29
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#AF2B21
secondary
#64C1C8
accent
#DFEB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2B21

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

Preview Lab → · Contrast checker → · Palette generator →

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