#AF2A21#AF2A21

#AF2A21 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 28.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF2A21
RGBrgb(175, 42, 33)
HSLhsl(4, 68%, 41%)
HSVhsv(4, 81%, 69%)
CMYKcmyk(0%, 76%, 81.1%, 31.4%)
CIE-LABlab(39.38, 52.52, 38.26)
CIE-LCHlch(39.38, 64.98, 36.07°)
OKLaboklab(49.76% 0.1499 0.0824)
OKLCHoklch(49.76% 0.171 28.8)
XYZxyz(18.7839, 10.8827, 2.5501)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A21 #21A6AF
analogous
#AF215F #AF2A21 #AF7121
triadic
#AF2A21 #21AF2A #2A21AF
tetradic
#AF2A21 #5FAF21 #21A6AF #7121AF
square
#AF2A21 #5FAF21 #21A6AF #7121AF
split-complementary
#AF2A21 #21AF71 #215FAF
monochromatic
#48110E #7C1E17 #AF2A21 #D93F34 #E37068

Accessibility & contrast

On white

6.61
#AF2A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A21
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A21#FFFFFF#000000##FFFFFF
##AF2A211.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a21;
/* rgb */ color: rgb(175, 42, 33);
/* oklch */ color: oklch(49.8% 0.171 28.8);
Tailwind
colors: {
  custom: {
    50: '#d06f5e',
    500: '#af2a21',
    950: '#000000',
  },
}
SCSS
$custom: #af2a21;
$custom-light: #d06f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a21",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 33
  },
  "hsl": {
    "h": 3.803,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.17099,
    "h": 28.8
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#AF2A21
secondary
#64C2C8
accent
#E0EB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2A21

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

Preview Lab → · Contrast checker → · Palette generator →

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