#AF2422#AF2422

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

Color values

HEX#AF2422
RGBrgb(175, 36, 34)
HSLhsl(1, 67%, 41%)
HSVhsv(1, 81%, 69%)
CMYKcmyk(0%, 79.4%, 80.6%, 31.4%)
CIE-LABlab(38.72, 54.45, 37.05)
CIE-LCHlch(38.72, 65.86, 34.23°)
OKLaboklab(49.27% 0.1561 0.08)
OKLCHoklch(49.27% 0.175 27.1)
XYZxyz(18.6011, 10.4942, 2.5592)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2422 #22ADAF
analogous
#AF2266 #AF2422 #AF6A22
triadic
#AF2422 #22AF24 #2422AF
tetradic
#AF2422 #66AF22 #22ADAF #6A22AF
square
#AF2422 #66AF22 #22ADAF #6A22AF
split-complementary
#AF2422 #22AF6A #2266AF
monochromatic
#490F0E #7C1918 #AF2422 #D83936 #E26B69

Accessibility & contrast

On white

6.78
#AF2422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AF2422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2422
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2422#FFFFFF#000000##FFFFFF
##AF24221.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504820
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2422;
/* rgb */ color: rgb(175, 36, 34);
/* oklch */ color: oklch(49.3% 0.175 27.1);
Tailwind
colors: {
  custom: {
    50: '#d06c5e',
    500: '#af2422',
    950: '#000000',
  },
}
SCSS
$custom: #af2422;
$custom-light: #d06c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2422",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 34
  },
  "hsl": {
    "h": 0.851,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.17541,
    "h": 27.1
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#AF2422
secondary
#65C6C8
accent
#E8EA3D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF2422

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

Preview Lab → · Contrast checker → · Palette generator →

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