#AF2F24#AF2F24

#AF2F24 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 29.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2F24
RGBrgb(175, 47, 36)
HSLhsl(5, 66%, 41%)
HSVhsv(5, 79%, 69%)
CMYKcmyk(0%, 73.1%, 79.4%, 31.4%)
CIE-LABlab(40.04, 50.87, 37.28)
CIE-LCHlch(40.04, 63.07, 36.24°)
OKLaboklab(50.27% 0.1453 0.0812)
OKLCHoklch(50.27% 0.166 29.2)
XYZxyz(19.0164, 11.2773, 2.8442)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F24 #24A4AF
analogous
#AF245F #AF2F24 #AF7524
triadic
#AF2F24 #24AF2F #2F24AF
tetradic
#AF2F24 #5FAF24 #24A4AF #7524AF
square
#AF2F24 #5FAF24 #24A4AF #7524AF
split-complementary
#AF2F24 #24AF75 #245FAF
monochromatic
#49140F #7C211A #AF2F24 #D6463A #E1766D

Accessibility & contrast

On white

6.45
#AF2F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F24
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F24#FFFFFF#000000##FFFFFF
##AF2F241.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2f24;
/* rgb */ color: rgb(175, 47, 36);
/* oklch */ color: oklch(50.3% 0.166 29.2);
Tailwind
colors: {
  custom: {
    50: '#d07160',
    500: '#af2f24',
    950: '#000000',
  },
}
SCSS
$custom: #af2f24;
$custom-light: #d07160;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f24",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 36
  },
  "hsl": {
    "h": 4.748,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.16642,
    "h": 29.2
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2F24

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

Preview Lab → · Contrast checker → · Palette generator →

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