#AF222C#AF222C

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

Color values

HEX#AF222C
RGBrgb(175, 34, 44)
HSLhsl(356, 67%, 41%)
HSVhsv(356, 81%, 69%)
CMYKcmyk(0%, 80.6%, 74.9%, 31.4%)
CIE-LABlab(38.63, 55.39, 31.12)
CIE-LCHlch(38.63, 63.54, 29.33°)
OKLaboklab(49.24% 0.1613 0.07)
OKLCHoklch(49.24% 0.176 23.5)
XYZxyz(18.7081, 10.4428, 3.4130)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF222C #22AFA5
analogous
#AF2272 #AF222C #AF5E22
triadic
#AF222C #2CAF22 #222CAF
tetradic
#AF222C #72AF22 #22AFA5 #5E22AF
square
#AF222C #72AF22 #22AFA5 #5E22AF
split-complementary
#AF222C #22AF5E #2272AF
monochromatic
#490E12 #7C181F #AF222C #D83642 #E26972

Accessibility & contrast

On white

6.80
#AF222C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF222C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF222C#FFFFFF#000000##FFFFFF
##AF222C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af222c;
/* rgb */ color: rgb(175, 34, 44);
/* oklch */ color: oklch(49.2% 0.176 23.5);
Tailwind
colors: {
  custom: {
    50: '#d06c65',
    500: '#af222c',
    950: '#000000',
  },
}
SCSS
$custom: #af222c;
$custom-light: #d06c65;
$custom-dark: #000000;
JSON
{
  "hex": "#af222c",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 44
  },
  "hsl": {
    "h": 355.745,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49241,
    "c": 0.17579,
    "h": 23.5
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#AF222C
secondary
#65C8C1
accent
#EADE3D
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A

Preview Lab

Preview with #AF222C

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

Preview Lab → · Contrast checker → · Palette generator →

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