#AF2D31#AF2D31

#AF2D31 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.166 H 24.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2D31
RGBrgb(175, 45, 49)
HSLhsl(358, 59%, 43%)
HSVhsv(358, 74%, 69%)
CMYKcmyk(0%, 74.3%, 72%, 31.4%)
CIE-LABlab(39.94, 52.12, 29.63)
CIE-LCHlch(39.94, 59.95, 29.62°)
OKLaboklab(50.24% 0.152 0.0678)
OKLCHoklch(50.24% 0.166 24)
XYZxyz(19.1741, 11.2154, 4.0603)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D31 #2DAFAB
analogous
#AF2D72 #AF2D31 #AF6A2D
triadic
#AF2D31 #31AF2D #2D31AF
tetradic
#AF2D31 #72AF2D #2DAFAB #6A2DAF
square
#AF2D31 #72AF2D #2DAFAB #6A2DAF
split-complementary
#AF2D31 #2DAF6A #2D72AF
monochromatic
#4E1416 #7E2023 #AF2D31 #D0494D #DD7A7D

Accessibility & contrast

On white

6.48
#AF2D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D31
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D31#FFFFFF#000000##FFFFFF
##AF2D311.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d31;
/* rgb */ color: rgb(175, 45, 49);
/* oklch */ color: oklch(50.2% 0.166 24.0);
Tailwind
colors: {
  custom: {
    50: '#cf7069',
    500: '#af2d31',
    950: '#000000',
  },
}
SCSS
$custom: #af2d31;
$custom-light: #cf7069;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d31",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 49
  },
  "hsl": {
    "h": 358.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.16642,
    "h": 24
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#AF2D31
secondary
#73C5C2
accent
#E2DD46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2D31

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

Preview Lab → · Contrast checker → · Palette generator →

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