#AF282C#AF282C

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

Color values

HEX#AF282C
RGBrgb(175, 40, 44)
HSLhsl(358, 63%, 42%)
HSVhsv(358, 77%, 69%)
CMYKcmyk(0%, 77.1%, 74.9%, 31.4%)
CIE-LABlab(39.27, 53.58, 31.85)
CIE-LCHlch(39.27, 62.33, 30.73°)
OKLaboklab(49.72% 0.1555 0.0716)
OKLCHoklch(49.72% 0.171 24.7)
XYZxyz(18.8948, 10.8164, 3.4753)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF282C #28AFAB
analogous
#AF2870 #AF282C #AF6728
triadic
#AF282C #2CAF28 #282CAF
tetradic
#AF282C #70AF28 #28AFAB #6728AF
square
#AF282C #70AF28 #28AFAB #6728AF
split-complementary
#AF282C #28AF67 #2870AF
monochromatic
#4B1113 #7D1D1F #AF282C #D44145 #DF7376

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF282C#FFFFFF#000000##FFFFFF
##AF282C1.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)
#514A2B
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af282c;
/* rgb */ color: rgb(175, 40, 44);
/* oklch */ color: oklch(49.7% 0.171 24.7);
Tailwind
colors: {
  custom: {
    50: '#d06e65',
    500: '#af282c',
    950: '#000000',
  },
}
SCSS
$custom: #af282c;
$custom-light: #d06e65;
$custom-dark: #000000;
JSON
{
  "hex": "#af282c",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 358.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.17119,
    "h": 24.7
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#AF282C
secondary
#6DC6C3
accent
#E6E142
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF282C

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

Preview Lab → · Contrast checker → · Palette generator →

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