#AF292B#AF292B

#AF292B is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.170 H 25.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF292B
RGBrgb(175, 41, 43)
HSLhsl(359, 62%, 42%)
HSVhsv(359, 77%, 69%)
CMYKcmyk(0%, 76.6%, 75.4%, 31.4%)
CIE-LABlab(39.37, 53.22, 32.56)
CIE-LCHlch(39.37, 62.39, 31.46°)
OKLaboklab(49.79% 0.1541 0.0729)
OKLCHoklch(49.79% 0.17 25.3)
XYZxyz(18.9104, 10.8772, 3.3888)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF292B #29AFAD
analogous
#AF296E #AF292B #AF6A29
triadic
#AF292B #2BAF29 #292BAF
tetradic
#AF292B #6EAF29 #29AFAD #6A29AF
square
#AF292B #6EAF29 #29AFAD #6A29AF
split-complementary
#AF292B #29AF6A #296EAF
monochromatic
#4C1213 #7D1D1F #AF292B #D34245 #DE7476

Accessibility & contrast

On white

6.61
#AF292B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF292B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF292B#FFFFFF#000000##FFFFFF
##AF292B1.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A2A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af292b;
/* rgb */ color: rgb(175, 41, 43);
/* oklch */ color: oklch(49.8% 0.170 25.3);
Tailwind
colors: {
  custom: {
    50: '#d06e65',
    500: '#af292b',
    950: '#000000',
  },
}
SCSS
$custom: #af292b;
$custom-light: #d06e65;
$custom-dark: #000000;
JSON
{
  "hex": "#af292b",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 43
  },
  "hsl": {
    "h": 359.104,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.17049,
    "h": 25.3
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#AF292B
secondary
#6EC6C4
accent
#E5E343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF292B

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

Preview Lab → · Contrast checker → · Palette generator →

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