#AF242C#AF242C

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

Color values

HEX#AF242C
RGBrgb(175, 36, 44)
HSLhsl(357, 66%, 41%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 79.4%, 74.9%, 31.4%)
CIE-LABlab(38.83, 54.82, 31.35)
CIE-LCHlch(38.83, 63.15, 29.77°)
OKLaboklab(49.39% 0.1594 0.0705)
OKLCHoklch(49.39% 0.174 23.9)
XYZxyz(18.7669, 10.5605, 3.4326)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF242C #24AFA7
analogous
#AF2472 #AF242C #AF6224
triadic
#AF242C #2CAF24 #242CAF
tetradic
#AF242C #72AF24 #24AFA7 #6224AF
square
#AF242C #72AF24 #24AFA7 #6224AF
split-complementary
#AF242C #24AF62 #2472AF
monochromatic
#490F12 #7C1A1F #AF242C #D63A43 #E16D73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF242C#FFFFFF#000000##FFFFFF
##AF242C1.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)
#4F482B
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af242c;
/* rgb */ color: rgb(175, 36, 44);
/* oklch */ color: oklch(49.4% 0.174 23.9);
Tailwind
colors: {
  custom: {
    50: '#d06c65',
    500: '#af242c',
    950: '#000000',
  },
}
SCSS
$custom: #af242c;
$custom-light: #d06c65;
$custom-dark: #000000;
JSON
{
  "hex": "#af242c",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 44
  },
  "hsl": {
    "h": 356.547,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.17432,
    "h": 23.9
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#AF242C
secondary
#68C7C2
accent
#E9DF3F
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A

Preview Lab

Preview with #AF242C

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

Preview Lab → · Contrast checker → · Palette generator →

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