#AF2424#AF2424

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

Color values

HEX#AF2424
RGBrgb(175, 36, 36)
HSLhsl(0, 66%, 41%)
HSVhsv(0, 79%, 69%)
CMYKcmyk(0%, 79.4%, 79.4%, 31.4%)
CIE-LABlab(38.74, 54.52, 35.94)
CIE-LCHlch(38.74, 65.30, 33.39°)
OKLaboklab(49.29% 0.1567 0.0783)
OKLCHoklch(49.29% 0.175 26.5)
XYZxyz(18.6308, 10.5061, 2.7156)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2424 #24AFAF
analogous
#AF246A #AF2424 #AF6A24
triadic
#AF2424 #24AF24 #2424AF
tetradic
#AF2424 #6AAF24 #24AFAF #6A24AF
square
#AF2424 #6AAF24 #24AFAF #6A24AF
split-complementary
#AF2424 #24AF6A #246AAF
monochromatic
#490F0F #7C1A1A #AF2424 #D63A3A #E16D6D

Accessibility & contrast

On white

6.77
#AF2424 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2424
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2424#FFFFFF#000000##FFFFFF
##AF24241.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2424;
/* rgb */ color: rgb(175, 36, 36);
/* oklch */ color: oklch(49.3% 0.175 26.5);
Tailwind
colors: {
  custom: {
    50: '#d06c5f',
    500: '#af2424',
    950: '#000000',
  },
}
SCSS
$custom: #af2424;
$custom-light: #d06c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2424",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 36
  },
  "hsl": {
    "h": 0,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49293,
    "c": 0.17518,
    "h": 26.5
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#AF2424
secondary
#68C7C7
accent
#E9E93F
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF2424

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

Preview Lab → · Contrast checker → · Palette generator →

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