#AF222A#AF222A

#AF222A is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.176 H 24.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AF222A
RGBrgb(175, 34, 42)
HSLhsl(357, 67%, 41%)
HSVhsv(357, 81%, 69%)
CMYKcmyk(0%, 80.6%, 76%, 31.4%)
CIE-LABlab(38.60, 55.31, 32.29)
CIE-LCHlch(38.60, 64.05, 30.28°)
OKLaboklab(49.21% 0.1606 0.072)
OKLCHoklch(49.21% 0.176 24.2)
XYZxyz(18.6714, 10.4282, 3.2198)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF222A #22AFA7
analogous
#AF2270 #AF222A #AF6022
triadic
#AF222A #2AAF22 #222AAF
tetradic
#AF222A #70AF22 #22AFA7 #6022AF
square
#AF222A #70AF22 #22AFA7 #6022AF
split-complementary
#AF222A #22AF60 #2270AF
monochromatic
#490E11 #7C181E #AF222A #D8363F #E26970

Accessibility & contrast

On white

6.81
#AF222A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AF222A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF222A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF222A#FFFFFF#000000##FFFFFF
##AF222A1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4829
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af222a;
/* rgb */ color: rgb(175, 34, 42);
/* oklch */ color: oklch(49.2% 0.176 24.2);
Tailwind
colors: {
  custom: {
    50: '#d06c64',
    500: '#af222a',
    950: '#000000',
  },
}
SCSS
$custom: #af222a;
$custom-light: #d06c64;
$custom-dark: #000000;
JSON
{
  "hex": "#af222a",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 356.596,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49214,
    "c": 0.17598,
    "h": 24.2
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#AF222A
secondary
#65C8C2
accent
#EAE13D
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF222A

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

Preview Lab → · Contrast checker → · Palette generator →

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