#AF2931#AF2931

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

Color values

HEX#AF2931
RGBrgb(175, 41, 49)
HSLhsl(356, 62%, 42%)
HSVhsv(356, 77%, 69%)
CMYKcmyk(0%, 76.6%, 72%, 31.4%)
CIE-LABlab(39.45, 53.48, 29.06)
CIE-LCHlch(39.45, 60.86, 28.52°)
OKLaboklab(49.88% 0.1563 0.0665)
OKLCHoklch(49.88% 0.17 23.1)
XYZxyz(19.0287, 10.9245, 4.0118)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2931 #29AFA7
analogous
#AF2974 #AF2931 #AF6429
triadic
#AF2931 #31AF29 #2931AF
tetradic
#AF2931 #74AF29 #29AFA7 #6429AF
square
#AF2931 #74AF29 #29AFA7 #6429AF
split-complementary
#AF2931 #29AF64 #2974AF
monochromatic
#4C1215 #7D1D23 #AF2931 #D3424B #DE747A

Accessibility & contrast

On white

6.59
#AF2931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2931
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2931#FFFFFF#000000##FFFFFF
##AF29311.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B30
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2931;
/* rgb */ color: rgb(175, 41, 49);
/* oklch */ color: oklch(49.9% 0.170 23.1);
Tailwind
colors: {
  custom: {
    50: '#cf6e69',
    500: '#af2931',
    950: '#000000',
  },
}
SCSS
$custom: #af2931;
$custom-light: #cf6e69;
$custom-dark: #000000;
JSON
{
  "hex": "#af2931",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 49
  },
  "hsl": {
    "h": 356.418,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.16987,
    "h": 23.1
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#AF2931
secondary
#6EC6C1
accent
#E5DB43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2931

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

Preview Lab → · Contrast checker → · Palette generator →

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