#AF292A#AF292A

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

Color values

HEX#AF292A
RGBrgb(175, 41, 42)
HSLhsl(360, 62%, 42%)
HSVhsv(360, 77%, 69%)
CMYKcmyk(0%, 76.6%, 76%, 31.4%)
CIE-LABlab(39.36, 53.18, 33.13)
CIE-LCHlch(39.36, 62.66, 31.93°)
OKLaboklab(49.78% 0.1538 0.0739)
OKLCHoklch(49.78% 0.171 25.7)
XYZxyz(18.8923, 10.8700, 3.2934)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF292A #29AFAE
analogous
#AF296D #AF292A #AF6B29
triadic
#AF292A #2AAF29 #292AAF
tetradic
#AF292A #6DAF29 #29AFAE #6B29AF
square
#AF292A #6DAF29 #29AFAE #6B29AF
split-complementary
#AF292A #29AF6B #296DAF
monochromatic
#4C1212 #7D1D1E #AF292A #D34243 #DE7475

Accessibility & contrast

On white

6.62
#AF292A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF292A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF292A#FFFFFF#000000##FFFFFF
##AF292A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A28
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af292a;
/* rgb */ color: rgb(175, 41, 42);
/* oklch */ color: oklch(49.8% 0.171 25.7);
Tailwind
colors: {
  custom: {
    50: '#d06e64',
    500: '#af292a',
    950: '#000000',
  },
}
SCSS
$custom: #af292a;
$custom-light: #d06e64;
$custom-dark: #000000;
JSON
{
  "hex": "#af292a",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 42
  },
  "hsl": {
    "h": 359.552,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49779,
    "c": 0.17062,
    "h": 25.7
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#AF292A
secondary
#6EC6C5
accent
#E5E443
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF292A

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

Preview Lab → · Contrast checker → · Palette generator →

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