#AF282A#AF282A

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

Color values

HEX#AF282A
RGBrgb(175, 40, 42)
HSLhsl(359, 63%, 42%)
HSVhsv(359, 77%, 69%)
CMYKcmyk(0%, 77.1%, 76%, 31.4%)
CIE-LABlab(39.24, 53.50, 33.01)
CIE-LCHlch(39.24, 62.86, 31.67°)
OKLaboklab(49.69% 0.1548 0.0736)
OKLCHoklch(49.69% 0.171 25.4)
XYZxyz(18.8581, 10.8017, 3.2820)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF282A #28AFAD
analogous
#AF286E #AF282A #AF6A28
triadic
#AF282A #2AAF28 #282AAF
tetradic
#AF282A #6EAF28 #28AFAD #6A28AF
square
#AF282A #6EAF28 #28AFAD #6A28AF
split-complementary
#AF282A #28AF6A #286EAF
monochromatic
#4B1112 #7D1D1E #AF282A #D44143 #DF7374

Accessibility & contrast

On white

6.65
#AF282A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF282A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF282A#FFFFFF#000000##FFFFFF
##AF282A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A28
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af282a;
/* rgb */ color: rgb(175, 40, 42);
/* oklch */ color: oklch(49.7% 0.171 25.4);
Tailwind
colors: {
  custom: {
    50: '#d06e64',
    500: '#af282a',
    950: '#000000',
  },
}
SCSS
$custom: #af282a;
$custom-light: #d06e64;
$custom-dark: #000000;
JSON
{
  "hex": "#af282a",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 359.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.17142,
    "h": 25.4
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#AF282A
secondary
#6DC6C5
accent
#E6E342
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF282A

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

Preview Lab → · Contrast checker → · Palette generator →

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