#AF242E#AF242E

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

Color values

HEX#AF242E
RGBrgb(175, 36, 46)
HSLhsl(356, 66%, 41%)
HSVhsv(356, 79%, 69%)
CMYKcmyk(0%, 79.4%, 73.7%, 31.4%)
CIE-LABlab(38.86, 54.90, 30.18)
CIE-LCHlch(38.86, 62.65, 28.80°)
OKLaboklab(49.42% 0.1601 0.0684)
OKLCHoklch(49.42% 0.174 23.1)
XYZxyz(18.8054, 10.5759, 3.6354)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF242E #24AFA5
analogous
#AF2474 #AF242E #AF5F24
triadic
#AF242E #2EAF24 #242EAF
tetradic
#AF242E #74AF24 #24AFA5 #5F24AF
square
#AF242E #74AF24 #24AFA5 #5F24AF
split-complementary
#AF242E #24AF5F #2474AF
monochromatic
#490F13 #7C1A21 #AF242E #D63A45 #E16D75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF242E#FFFFFF#000000##FFFFFF
##AF242E1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af242e;
/* rgb */ color: rgb(175, 36, 46);
/* oklch */ color: oklch(49.4% 0.174 23.1);
Tailwind
colors: {
  custom: {
    50: '#d06c67',
    500: '#af242e',
    950: '#000000',
  },
}
SCSS
$custom: #af242e;
$custom-light: #d06c67;
$custom-dark: #000000;
JSON
{
  "hex": "#af242e",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 355.683,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.17413,
    "h": 23.1
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF242E

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

Preview Lab → · Contrast checker → · Palette generator →

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