#AF2822#AF2822

#AF2822 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 28.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AF2822
RGBrgb(175, 40, 34)
HSLhsl(3, 67%, 41%)
HSVhsv(3, 81%, 69%)
CMYKcmyk(0%, 77.1%, 80.6%, 31.4%)
CIE-LABlab(39.16, 53.21, 37.49)
CIE-LCHlch(39.16, 65.09, 35.16°)
OKLaboklab(49.6% 0.1522 0.081)
OKLCHoklch(49.6% 0.172 28)
XYZxyz(18.7290, 10.7500, 2.6019)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2822 #22A9AF
analogous
#AF2262 #AF2822 #AF6E22
triadic
#AF2822 #22AF28 #2822AF
tetradic
#AF2822 #62AF22 #22A9AF #6E22AF
square
#AF2822 #62AF22 #22A9AF #6E22AF
split-complementary
#AF2822 #22AF6E #2262AF
monochromatic
#49110E #7C1C18 #AF2822 #D83D36 #E26F69

Accessibility & contrast

On white

6.67
#AF2822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF2822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2822
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2822#FFFFFF#000000##FFFFFF
##AF28221.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524920
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2822;
/* rgb */ color: rgb(175, 40, 34);
/* oklch */ color: oklch(49.6% 0.172 28.0);
Tailwind
colors: {
  custom: {
    50: '#d06e5e',
    500: '#af2822',
    950: '#000000',
  },
}
SCSS
$custom: #af2822;
$custom-light: #d06e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2822",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 2.553,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.17242,
    "h": 28
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#AF2822
secondary
#65C4C8
accent
#E3EA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2822

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

Preview Lab → · Contrast checker → · Palette generator →

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