#AF242B#AF242B

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

Color values

HEX#AF242B
RGBrgb(175, 36, 43)
HSLhsl(357, 66%, 41%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 79.4%, 75.4%, 31.4%)
CIE-LABlab(38.82, 54.78, 31.94)
CIE-LCHlch(38.82, 63.41, 30.25°)
OKLaboklab(49.38% 0.1591 0.0715)
OKLCHoklch(49.38% 0.174 24.2)
XYZxyz(18.7483, 10.5531, 3.3348)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF242B #24AFA8
analogous
#AF2471 #AF242B #AF6324
triadic
#AF242B #2BAF24 #242BAF
tetradic
#AF242B #71AF24 #24AFA8 #6324AF
square
#AF242B #71AF24 #24AFA8 #6324AF
split-complementary
#AF242B #24AF63 #2471AF
monochromatic
#490F12 #7C1A1F #AF242B #D63A42 #E16D72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF242B#FFFFFF#000000##FFFFFF
##AF242B1.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)
#4F482A
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af242b;
/* rgb */ color: rgb(175, 36, 43);
/* oklch */ color: oklch(49.4% 0.174 24.2);
Tailwind
colors: {
  custom: {
    50: '#d06c64',
    500: '#af242b',
    950: '#000000',
  },
}
SCSS
$custom: #af242b;
$custom-light: #d06c64;
$custom-dark: #000000;
JSON
{
  "hex": "#af242b",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 43
  },
  "hsl": {
    "h": 356.978,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.17441,
    "h": 24.2
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF242B

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

Preview Lab → · Contrast checker → · Palette generator →

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