#AF2E24#AF2E24

#AF2E24 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 28.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2E24
RGBrgb(175, 46, 36)
HSLhsl(4, 66%, 41%)
HSVhsv(4, 79%, 69%)
CMYKcmyk(0%, 73.7%, 79.4%, 31.4%)
CIE-LABlab(39.91, 51.23, 37.15)
CIE-LCHlch(39.91, 63.28, 35.95°)
OKLaboklab(50.17% 0.1464 0.0809)
OKLCHoklch(50.17% 0.167 28.9)
XYZxyz(18.9769, 11.1983, 2.8310)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E24 #24A5AF
analogous
#AF245F #AF2E24 #AF7424
triadic
#AF2E24 #24AF2E #2E24AF
tetradic
#AF2E24 #5FAF24 #24A5AF #7424AF
square
#AF2E24 #5FAF24 #24A5AF #7424AF
split-complementary
#AF2E24 #24AF74 #245FAF
monochromatic
#49130F #7C211A #AF2E24 #D6453A #E1756D

Accessibility & contrast

On white

6.48
#AF2E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E24
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E24#FFFFFF#000000##FFFFFF
##AF2E241.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C21
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e24;
/* rgb */ color: rgb(175, 46, 36);
/* oklch */ color: oklch(50.2% 0.167 28.9);
Tailwind
colors: {
  custom: {
    50: '#d07060',
    500: '#af2e24',
    950: '#000000',
  },
}
SCSS
$custom: #af2e24;
$custom-light: #d07060;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e24",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 36
  },
  "hsl": {
    "h": 4.317,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.16727,
    "h": 28.9
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#AF2E24
secondary
#68C0C7
accent
#DDE93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2E24

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

Preview Lab → · Contrast checker → · Palette generator →

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