#AF222D#AF222D

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

Color values

HEX#AF222D
RGBrgb(175, 34, 45)
HSLhsl(355, 67%, 41%)
HSVhsv(355, 81%, 69%)
CMYKcmyk(0%, 80.6%, 74.3%, 31.4%)
CIE-LABlab(38.64, 55.43, 30.53)
CIE-LCHlch(38.64, 63.29, 28.85°)
OKLaboklab(49.26% 0.1616 0.0689)
OKLCHoklch(49.26% 0.176 23.1)
XYZxyz(18.7271, 10.4505, 3.5132)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF222D #22AFA4
analogous
#AF2273 #AF222D #AF5D22
triadic
#AF222D #2DAF22 #222DAF
tetradic
#AF222D #73AF22 #22AFA4 #5D22AF
square
#AF222D #73AF22 #22AFA4 #5D22AF
split-complementary
#AF222D #22AF5D #2273AF
monochromatic
#490E13 #7C1820 #AF222D #D83643 #E26973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF222D#FFFFFF#000000##FFFFFF
##AF222D1.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)
#4E482C
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af222d;
/* rgb */ color: rgb(175, 34, 45);
/* oklch */ color: oklch(49.3% 0.176 23.1);
Tailwind
colors: {
  custom: {
    50: '#d06c66',
    500: '#af222d',
    950: '#000000',
  },
}
SCSS
$custom: #af222d;
$custom-light: #d06c66;
$custom-dark: #000000;
JSON
{
  "hex": "#af222d",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 45
  },
  "hsl": {
    "h": 355.319,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.17571,
    "h": 23.1
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#AF222D
secondary
#65C8C0
accent
#EADD3D
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #AF222D

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

Preview Lab → · Contrast checker → · Palette generator →

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