#AF222B#AF222B

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

Color values

HEX#AF222B
RGBrgb(175, 34, 43)
HSLhsl(356, 67%, 41%)
HSVhsv(356, 81%, 69%)
CMYKcmyk(0%, 80.6%, 75.4%, 31.4%)
CIE-LABlab(38.61, 55.35, 31.71)
CIE-LCHlch(38.61, 63.79, 29.81°)
OKLaboklab(49.23% 0.1609 0.071)
OKLCHoklch(49.23% 0.176 23.8)
XYZxyz(18.6895, 10.4354, 3.3152)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF222B #22AFA6
analogous
#AF2271 #AF222B #AF5F22
triadic
#AF222B #2BAF22 #222BAF
tetradic
#AF222B #71AF22 #22AFA6 #5F22AF
square
#AF222B #71AF22 #22AFA6 #5F22AF
split-complementary
#AF222B #22AF5F #2271AF
monochromatic
#490E12 #7C181E #AF222B #D83641 #E26971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF222B#FFFFFF#000000##FFFFFF
##AF222B1.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)
#4E482A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af222b;
/* rgb */ color: rgb(175, 34, 43);
/* oklch */ color: oklch(49.2% 0.176 23.8);
Tailwind
colors: {
  custom: {
    50: '#d06c64',
    500: '#af222b',
    950: '#000000',
  },
}
SCSS
$custom: #af222b;
$custom-light: #d06c64;
$custom-dark: #000000;
JSON
{
  "hex": "#af222b",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 43
  },
  "hsl": {
    "h": 356.17,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.17589,
    "h": 23.8
  },
  "luminance": 0.10432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF222B

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

Preview Lab → · Contrast checker → · Palette generator →

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