#AF282D#AF282D

#AF282D is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.171 H 24.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF282D
RGBrgb(175, 40, 45)
HSLhsl(358, 63%, 42%)
HSVhsv(358, 77%, 69%)
CMYKcmyk(0%, 77.1%, 74.3%, 31.4%)
CIE-LABlab(39.28, 53.62, 31.27)
CIE-LCHlch(39.28, 62.08, 30.25°)
OKLaboklab(49.73% 0.1559 0.0705)
OKLCHoklch(49.73% 0.171 24.3)
XYZxyz(18.9138, 10.8240, 3.5755)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF282D #28AFAA
analogous
#AF2870 #AF282D #AF6728
triadic
#AF282D #2DAF28 #282DAF
tetradic
#AF282D #70AF28 #28AFAA #6728AF
square
#AF282D #70AF28 #28AFAA #6728AF
split-complementary
#AF282D #28AF67 #2870AF
monochromatic
#4B1113 #7D1D20 #AF282D #D44146 #DF7377

Accessibility & contrast

On white

6.64
#AF282D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF282D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF282D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF282D#FFFFFF#000000##FFFFFF
##AF282D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af282d;
/* rgb */ color: rgb(175, 40, 45);
/* oklch */ color: oklch(49.7% 0.171 24.3);
Tailwind
colors: {
  custom: {
    50: '#cf6e66',
    500: '#af282d',
    950: '#000000',
  },
}
SCSS
$custom: #af282d;
$custom-light: #cf6e66;
$custom-dark: #000000;
JSON
{
  "hex": "#af282d",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 357.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.17109,
    "h": 24.3
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#AF282D
secondary
#6DC6C3
accent
#E6E042
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF282D

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

Preview Lab → · Contrast checker → · Palette generator →

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