#AF2E22#AF2E22

#AF2E22 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.1% C 0.168 H 29.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2E22
RGBrgb(175, 46, 34)
HSLhsl(5, 67%, 41%)
HSVhsv(5, 81%, 69%)
CMYKcmyk(0%, 73.7%, 80.6%, 31.4%)
CIE-LABlab(39.89, 51.17, 38.23)
CIE-LCHlch(39.89, 63.87, 36.77°)
OKLaboklab(50.15% 0.1458 0.0826)
OKLCHoklch(50.15% 0.168 29.5)
XYZxyz(18.9472, 11.1864, 2.6746)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E22 #22A3AF
analogous
#AF225D #AF2E22 #AF7422
triadic
#AF2E22 #22AF2E #2E22AF
tetradic
#AF2E22 #5DAF22 #22A3AF #7422AF
square
#AF2E22 #5DAF22 #22A3AF #7422AF
split-complementary
#AF2E22 #22AF74 #225DAF
monochromatic
#49130E #7C2118 #AF2E22 #D84436 #E27469

Accessibility & contrast

On white

6.49
#AF2E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E22
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E22#FFFFFF#000000##FFFFFF
##AF2E221.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1F
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e22;
/* rgb */ color: rgb(175, 46, 34);
/* oklch */ color: oklch(50.1% 0.168 29.5);
Tailwind
colors: {
  custom: {
    50: '#d0705e',
    500: '#af2e22',
    950: '#000000',
  },
}
SCSS
$custom: #af2e22;
$custom-light: #d0705e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e22",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 5.106,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.16757,
    "h": 29.5
  },
  "luminance": 0.11183
}

Semantic roles & 50–950 ramp

primary
#AF2E22
secondary
#65BFC8
accent
#DCEA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2E22

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

Preview Lab → · Contrast checker → · Palette generator →

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