#AF282E#AF282E

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

Color values

HEX#AF282E
RGBrgb(175, 40, 46)
HSLhsl(357, 63%, 42%)
HSVhsv(357, 77%, 69%)
CMYKcmyk(0%, 77.1%, 73.7%, 31.4%)
CIE-LABlab(39.30, 53.67, 30.69)
CIE-LCHlch(39.30, 61.82, 29.76°)
OKLaboklab(49.75% 0.1562 0.0695)
OKLCHoklch(49.75% 0.171 24)
XYZxyz(18.9333, 10.8318, 3.6781)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF282E #28AFA9
analogous
#AF2872 #AF282E #AF6528
triadic
#AF282E #2EAF28 #282EAF
tetradic
#AF282E #72AF28 #28AFA9 #6528AF
square
#AF282E #72AF28 #28AFA9 #6528AF
split-complementary
#AF282E #28AF65 #2872AF
monochromatic
#4B1114 #7D1D21 #AF282E #D44147 #DF7377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF282E#FFFFFF#000000##FFFFFF
##AF282E1.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)
#514A2D
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af282e;
/* rgb */ color: rgb(175, 40, 46);
/* oklch */ color: oklch(49.7% 0.171 24.0);
Tailwind
colors: {
  custom: {
    50: '#cf6e67',
    500: '#af282e',
    950: '#000000',
  },
}
SCSS
$custom: #af282e;
$custom-light: #cf6e67;
$custom-dark: #000000;
JSON
{
  "hex": "#af282e",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 46
  },
  "hsl": {
    "h": 357.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.17099,
    "h": 24
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#AF282E
secondary
#6DC6C2
accent
#E6DF42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF282E

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

Preview Lab → · Contrast checker → · Palette generator →

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