#AF242A#AF242A

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

Color values

HEX#AF242A
RGBrgb(175, 36, 42)
HSLhsl(357, 66%, 41%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 79.4%, 76%, 31.4%)
CIE-LABlab(38.80, 54.74, 32.52)
CIE-LCHlch(38.80, 63.67, 30.71°)
OKLaboklab(49.37% 0.1587 0.0725)
OKLCHoklch(49.37% 0.175 24.6)
XYZxyz(18.7302, 10.5459, 3.2394)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF242A #24AFA9
analogous
#AF2470 #AF242A #AF6424
triadic
#AF242A #2AAF24 #242AAF
tetradic
#AF242A #70AF24 #24AFA9 #6424AF
square
#AF242A #70AF24 #24AFA9 #6424AF
split-complementary
#AF242A #24AF64 #2470AF
monochromatic
#490F12 #7C1A1E #AF242A #D63A41 #E16D72

Accessibility & contrast

On white

6.76
#AF242A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF242A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF242A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF242A#FFFFFF#000000##FFFFFF
##AF242A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4829
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af242a;
/* rgb */ color: rgb(175, 36, 42);
/* oklch */ color: oklch(49.4% 0.175 24.6);
Tailwind
colors: {
  custom: {
    50: '#d06c64',
    500: '#af242a',
    950: '#000000',
  },
}
SCSS
$custom: #af242a;
$custom-light: #d06c64;
$custom-dark: #000000;
JSON
{
  "hex": "#af242a",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 357.41,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.17452,
    "h": 24.6
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#AF242A
secondary
#68C7C3
accent
#E9E13F
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF242A

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

Preview Lab → · Contrast checker → · Palette generator →

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