#AF292F#AF292F

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

Color values

HEX#AF292F
RGBrgb(175, 41, 47)
HSLhsl(357, 62%, 42%)
HSVhsv(357, 77%, 69%)
CMYKcmyk(0%, 76.6%, 73.1%, 31.4%)
CIE-LABlab(39.43, 53.39, 30.23)
CIE-LCHlch(39.43, 61.35, 29.52°)
OKLaboklab(49.85% 0.1556 0.0687)
OKLCHoklch(49.85% 0.17 23.8)
XYZxyz(18.9874, 10.9080, 3.7945)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF292F #29AFA9
analogous
#AF2972 #AF292F #AF6629
triadic
#AF292F #2FAF29 #292FAF
tetradic
#AF292F #72AF29 #29AFA9 #6629AF
square
#AF292F #72AF29 #29AFA9 #6629AF
split-complementary
#AF292F #29AF66 #2972AF
monochromatic
#4C1214 #7D1D22 #AF292F #D34249 #DE7479

Accessibility & contrast

On white

6.60
#AF292F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF292F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF292F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF292F#FFFFFF#000000##FFFFFF
##AF292F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af292f;
/* rgb */ color: rgb(175, 41, 47);
/* oklch */ color: oklch(49.8% 0.170 23.8);
Tailwind
colors: {
  custom: {
    50: '#cf6e67',
    500: '#af292f',
    950: '#000000',
  },
}
SCSS
$custom: #af292f;
$custom-light: #cf6e67;
$custom-dark: #000000;
JSON
{
  "hex": "#af292f",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 47
  },
  "hsl": {
    "h": 357.313,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.17006,
    "h": 23.8
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#AF292F
secondary
#6EC6C2
accent
#E5DE43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF292F

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

Preview Lab → · Contrast checker → · Palette generator →

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