#AF242F#AF242F

#AF242F is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 22.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AF242F
RGBrgb(175, 36, 47)
HSLhsl(355, 66%, 41%)
HSVhsv(355, 79%, 69%)
CMYKcmyk(0%, 79.4%, 73.1%, 31.4%)
CIE-LABlab(38.87, 54.94, 29.59)
CIE-LCHlch(38.87, 62.40, 28.30°)
OKLaboklab(49.44% 0.1605 0.0673)
OKLCHoklch(49.44% 0.174 22.7)
XYZxyz(18.8254, 10.5839, 3.7404)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF242F #24AFA4
analogous
#AF2475 #AF242F #AF5F24
triadic
#AF242F #2FAF24 #242FAF
tetradic
#AF242F #75AF24 #24AFA4 #5F24AF
square
#AF242F #75AF24 #24AFA4 #5F24AF
split-complementary
#AF242F #24AF5F #2475AF
monochromatic
#490F14 #7C1A21 #AF242F #D63A46 #E16D76

Accessibility & contrast

On white

6.74
#AF242F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF242F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF242F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF242F#FFFFFF#000000##FFFFFF
##AF242F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492E
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af242f;
/* rgb */ color: rgb(175, 36, 47);
/* oklch */ color: oklch(49.4% 0.174 22.7);
Tailwind
colors: {
  custom: {
    50: '#cf6c67',
    500: '#af242f',
    950: '#000000',
  },
}
SCSS
$custom: #af242f;
$custom-light: #cf6c67;
$custom-dark: #000000;
JSON
{
  "hex": "#af242f",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 355.252,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.17405,
    "h": 22.7
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#AF242F
secondary
#68C7C0
accent
#E9DB3F
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF242F

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

Preview Lab → · Contrast checker → · Palette generator →

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