#AF282F#AF282F

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

Color values

HEX#AF282F
RGBrgb(175, 40, 47)
HSLhsl(357, 63%, 42%)
HSVhsv(357, 77%, 69%)
CMYKcmyk(0%, 77.1%, 73.1%, 31.4%)
CIE-LABlab(39.31, 53.71, 30.10)
CIE-LCHlch(39.31, 61.57, 29.27°)
OKLaboklab(49.76% 0.1566 0.0684)
OKLCHoklch(49.76% 0.171 23.6)
XYZxyz(18.9533, 10.8397, 3.7831)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF282F #28AFA8
analogous
#AF2873 #AF282F #AF6528
triadic
#AF282F #2FAF28 #282FAF
tetradic
#AF282F #73AF28 #28AFA8 #6528AF
square
#AF282F #73AF28 #28AFA8 #6528AF
split-complementary
#AF282F #28AF65 #2873AF
monochromatic
#4B1114 #7D1D22 #AF282F #D44148 #DF7378

Accessibility & contrast

On white

6.63
#AF282F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF282F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF282F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF282F#FFFFFF#000000##FFFFFF
##AF282F1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2E
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af282f;
/* rgb */ color: rgb(175, 40, 47);
/* oklch */ color: oklch(49.8% 0.171 23.6);
Tailwind
colors: {
  custom: {
    50: '#cf6e67',
    500: '#af282f',
    950: '#000000',
  },
}
SCSS
$custom: #af282f;
$custom-light: #cf6e67;
$custom-dark: #000000;
JSON
{
  "hex": "#af282f",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 356.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.17089,
    "h": 23.6
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#AF282F
secondary
#6DC6C1
accent
#E6DD42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF282F

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

Preview Lab → · Contrast checker → · Palette generator →

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