#AF2A24#AF2A24

#AF2A24 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 27.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF2A24
RGBrgb(175, 42, 36)
HSLhsl(3, 66%, 41%)
HSVhsv(3, 79%, 69%)
CMYKcmyk(0%, 76%, 79.4%, 31.4%)
CIE-LABlab(39.41, 52.62, 36.64)
CIE-LCHlch(39.41, 64.12, 34.85°)
OKLaboklab(49.8% 0.1508 0.0798)
OKLCHoklch(49.8% 0.171 27.9)
XYZxyz(18.8278, 10.9002, 2.7813)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A24 #24A9AF
analogous
#AF2464 #AF2A24 #AF7024
triadic
#AF2A24 #24AF2A #2A24AF
tetradic
#AF2A24 #64AF24 #24A9AF #7024AF
square
#AF2A24 #64AF24 #24A9AF #7024AF
split-complementary
#AF2A24 #24AF70 #2464AF
monochromatic
#49120F #7C1E1A #AF2A24 #D6413A #E1726D

Accessibility & contrast

On white

6.61
#AF2A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A24
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A24#FFFFFF#000000##FFFFFF
##AF2A241.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A22
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a24;
/* rgb */ color: rgb(175, 42, 36);
/* oklch */ color: oklch(49.8% 0.171 27.9);
Tailwind
colors: {
  custom: {
    50: '#d06f60',
    500: '#af2a24',
    950: '#000000',
  },
}
SCSS
$custom: #af2a24;
$custom-light: #d06f60;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a24",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 36
  },
  "hsl": {
    "h": 2.59,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.17058,
    "h": 27.9
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#AF2A24
secondary
#68C3C7
accent
#E1E93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2A24

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

Preview Lab → · Contrast checker → · Palette generator →

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