#AF2F31#AF2F31

#AF2F31 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 24.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF2F31
RGBrgb(175, 47, 49)
HSLhsl(359, 58%, 44%)
HSVhsv(359, 73%, 69%)
CMYKcmyk(0%, 73.1%, 72%, 31.4%)
CIE-LABlab(40.20, 51.40, 29.93)
CIE-LCHlch(40.20, 59.48, 30.21°)
OKLaboklab(50.43% 0.1497 0.0685)
OKLCHoklch(50.43% 0.165 24.6)
XYZxyz(19.2522, 11.3717, 4.0864)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F31 #2FAFAD
analogous
#AF2F71 #AF2F31 #AF6D2F
triadic
#AF2F31 #31AF2F #2F31AF
tetradic
#AF2F31 #71AF2F #2FAFAD #6D2FAF
square
#AF2F31 #71AF2F #2FAFAD #6D2FAF
split-complementary
#AF2F31 #2FAF6D #2F71AF
monochromatic
#4F1516 #7F2223 #AF2F31 #CF4C4E #DC7C7E

Accessibility & contrast

On white

6.41
#AF2F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F31
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F31#FFFFFF#000000##FFFFFF
##AF2F311.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D30
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f31;
/* rgb */ color: rgb(175, 47, 49);
/* oklch */ color: oklch(50.4% 0.165 24.6);
Tailwind
colors: {
  custom: {
    50: '#cf7169',
    500: '#af2f31',
    950: '#000000',
  },
}
SCSS
$custom: #af2f31;
$custom-light: #cf7169;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f31",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 359.063,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.16462,
    "h": 24.6
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#AF2F31
secondary
#75C4C3
accent
#E1DE47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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