#AF282B#AF282B

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

Color values

HEX#AF282B
RGBrgb(175, 40, 43)
HSLhsl(359, 63%, 42%)
HSVhsv(359, 77%, 69%)
CMYKcmyk(0%, 77.1%, 75.4%, 31.4%)
CIE-LABlab(39.26, 53.54, 32.43)
CIE-LCHlch(39.26, 62.60, 31.20°)
OKLaboklab(49.71% 0.1552 0.0726)
OKLCHoklch(49.71% 0.171 25.1)
XYZxyz(18.8762, 10.8089, 3.3774)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF282B #28AFAC
analogous
#AF286E #AF282B #AF6928
triadic
#AF282B #2BAF28 #282BAF
tetradic
#AF282B #6EAF28 #28AFAC #6928AF
square
#AF282B #6EAF28 #28AFAC #6928AF
split-complementary
#AF282B #28AF69 #286EAF
monochromatic
#4B1113 #7D1D1F #AF282B #D44144 #DF7375

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF282B#FFFFFF#000000##FFFFFF
##AF282B1.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)
#514A2A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af282b;
/* rgb */ color: rgb(175, 40, 43);
/* oklch */ color: oklch(49.7% 0.171 25.1);
Tailwind
colors: {
  custom: {
    50: '#d06e64',
    500: '#af282b',
    950: '#000000',
  },
}
SCSS
$custom: #af282b;
$custom-light: #d06e64;
$custom-dark: #000000;
JSON
{
  "hex": "#af282b",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 358.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49706,
    "c": 0.1713,
    "h": 25.1
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#AF282B
secondary
#6DC6C4
accent
#E6E242
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF282B

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

Preview Lab → · Contrast checker → · Palette generator →

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