#AF242D#AF242D

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

Color values

HEX#AF242D
RGBrgb(175, 36, 45)
HSLhsl(356, 66%, 41%)
HSVhsv(356, 79%, 69%)
CMYKcmyk(0%, 79.4%, 74.3%, 31.4%)
CIE-LABlab(38.84, 54.86, 30.77)
CIE-LCHlch(38.84, 62.90, 29.29°)
OKLaboklab(49.41% 0.1598 0.0695)
OKLCHoklch(49.41% 0.174 23.5)
XYZxyz(18.7859, 10.5681, 3.5328)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF242D #24AFA6
analogous
#AF2473 #AF242D #AF6124
triadic
#AF242D #2DAF24 #242DAF
tetradic
#AF242D #73AF24 #24AFA6 #6124AF
square
#AF242D #73AF24 #24AFA6 #6124AF
split-complementary
#AF242D #24AF61 #2473AF
monochromatic
#490F13 #7C1A20 #AF242D #D63A44 #E16D74

Accessibility & contrast

On white

6.75
#AF242D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF242D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF242D#FFFFFF#000000##FFFFFF
##AF242D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af242d;
/* rgb */ color: rgb(175, 36, 45);
/* oklch */ color: oklch(49.4% 0.174 23.5);
Tailwind
colors: {
  custom: {
    50: '#d06c66',
    500: '#af242d',
    950: '#000000',
  },
}
SCSS
$custom: #af242d;
$custom-light: #d06c66;
$custom-dark: #000000;
JSON
{
  "hex": "#af242d",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 45
  },
  "hsl": {
    "h": 356.115,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.17422,
    "h": 23.5
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#AF242D
secondary
#68C7C1
accent
#E9DE3F
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #AF242D

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

Preview Lab → · Contrast checker → · Palette generator →

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