#AF3031#AF3031

#AF3031 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.5% C 0.164 H 24.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF3031
RGBrgb(175, 48, 49)
HSLhsl(360, 57%, 44%)
HSVhsv(360, 73%, 69%)
CMYKcmyk(0%, 72.6%, 72%, 31.4%)
CIE-LABlab(40.33, 51.04, 30.09)
CIE-LCHlch(40.33, 59.25, 30.52°)
OKLaboklab(50.53% 0.1485 0.0688)
OKLCHoklch(50.53% 0.164 24.9)
XYZxyz(19.2927, 11.4525, 4.0998)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3031 #30AFAE
analogous
#AF3070 #AF3031 #AF6E30
triadic
#AF3031 #31AF30 #3031AF
tetradic
#AF3031 #70AF30 #30AFAE #6E30AF
square
#AF3031 #70AF30 #30AFAE #6E30AF
split-complementary
#AF3031 #30AF6E #3070AF
monochromatic
#4F1616 #7F2324 #AF3031 #CE4E4F #DC7E7F

Accessibility & contrast

On white

6.38
#AF3031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF3031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3031
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3031#FFFFFF#000000##FFFFFF
##AF30311.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E30
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3031;
/* rgb */ color: rgb(175, 48, 49);
/* oklch */ color: oklch(50.5% 0.164 24.9);
Tailwind
colors: {
  custom: {
    50: '#cf7269',
    500: '#af3031',
    950: '#000000',
  },
}
SCSS
$custom: #af3031;
$custom-light: #cf7269;
$custom-dark: #000000;
JSON
{
  "hex": "#af3031",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 49
  },
  "hsl": {
    "h": 359.528,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.1637,
    "h": 24.9
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#AF3031
secondary
#76C4C4
accent
#E0DF48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF3031

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

Preview Lab → · Contrast checker → · Palette generator →

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