#AF222E#AF222E

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

Color values

HEX#AF222E
RGBrgb(175, 34, 46)
HSLhsl(355, 67%, 41%)
HSVhsv(355, 81%, 69%)
CMYKcmyk(0%, 80.6%, 73.7%, 31.4%)
CIE-LABlab(38.65, 55.48, 29.94)
CIE-LCHlch(38.65, 63.04, 28.36°)
OKLaboklab(49.27% 0.162 0.0679)
OKLCHoklch(49.27% 0.176 22.7)
XYZxyz(18.7466, 10.4583, 3.6158)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF222E #22AFA3
analogous
#AF2274 #AF222E #AF5D22
triadic
#AF222E #2EAF22 #222EAF
tetradic
#AF222E #74AF22 #22AFA3 #5D22AF
square
#AF222E #74AF22 #22AFA3 #5D22AF
split-complementary
#AF222E #22AF5D #2274AF
monochromatic
#490E13 #7C1821 #AF222E #D83644 #E26974

Accessibility & contrast

On white

6.79
#AF222E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF222E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF222E#FFFFFF#000000##FFFFFF
##AF222E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482D
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af222e;
/* rgb */ color: rgb(175, 34, 46);
/* oklch */ color: oklch(49.3% 0.176 22.7);
Tailwind
colors: {
  custom: {
    50: '#d06c67',
    500: '#af222e',
    950: '#000000',
  },
}
SCSS
$custom: #af222e;
$custom-light: #d06c67;
$custom-dark: #000000;
JSON
{
  "hex": "#af222e",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 354.894,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4927,
    "c": 0.17562,
    "h": 22.7
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#AF222E
secondary
#65C8BF
accent
#EADC3D
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #AF222E

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

Preview Lab → · Contrast checker → · Palette generator →

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