#AF2224#AF2224

#AF2224 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 26.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AF2224
RGBrgb(175, 34, 36)
HSLhsl(359, 67%, 41%)
HSVhsv(359, 81%, 69%)
CMYKcmyk(0%, 80.6%, 79.4%, 31.4%)
CIE-LABlab(38.53, 55.10, 35.73)
CIE-LCHlch(38.53, 65.66, 32.96°)
OKLaboklab(49.14% 0.1586 0.0778)
OKLCHoklch(49.14% 0.177 26.1)
XYZxyz(18.5719, 10.3884, 2.6960)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2224 #22AFAD
analogous
#AF226A #AF2224 #AF6622
triadic
#AF2224 #24AF22 #2224AF
tetradic
#AF2224 #6AAF22 #22AFAD #6622AF
square
#AF2224 #6AAF22 #22AFAD #6622AF
split-complementary
#AF2224 #22AF66 #226AAF
monochromatic
#490E0F #7C1819 #AF2224 #D83639 #E2696B

Accessibility & contrast

On white

6.82
#AF2224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AF2224 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2224
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2224#FFFFFF#000000##FFFFFF
##AF22241.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4722
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#C10025
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2224;
/* rgb */ color: rgb(175, 34, 36);
/* oklch */ color: oklch(49.1% 0.177 26.1);
Tailwind
colors: {
  custom: {
    50: '#d06b5f',
    500: '#af2224',
    950: '#000000',
  },
}
SCSS
$custom: #af2224;
$custom-light: #d06b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2224",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 36
  },
  "hsl": {
    "h": 359.149,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.17661,
    "h": 26.1
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#AF2224
secondary
#65C8C6
accent
#EAE83D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF2224

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

Preview Lab → · Contrast checker → · Palette generator →

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