#AF2E31#AF2E31

#AF2E31 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 24.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2E31
RGBrgb(175, 46, 49)
HSLhsl(359, 58%, 43%)
HSVhsv(359, 74%, 69%)
CMYKcmyk(0%, 73.7%, 72%, 31.4%)
CIE-LABlab(40.07, 51.76, 29.78)
CIE-LCHlch(40.07, 59.72, 29.91°)
OKLaboklab(50.34% 0.1509 0.0681)
OKLCHoklch(50.34% 0.166 24.3)
XYZxyz(19.2127, 11.2926, 4.0732)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E31 #2EAFAC
analogous
#AF2E71 #AF2E31 #AF6B2E
triadic
#AF2E31 #31AF2E #2E31AF
tetradic
#AF2E31 #71AF2E #2EAFAC #6B2EAF
square
#AF2E31 #71AF2E #2EAFAC #6B2EAF
split-complementary
#AF2E31 #2EAF6B #2E71AF
monochromatic
#4E1516 #7F2123 #AF2E31 #D04B4E #DC7B7D

Accessibility & contrast

On white

6.45
#AF2E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E31
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E31#FFFFFF#000000##FFFFFF
##AF2E311.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2e31;
/* rgb */ color: rgb(175, 46, 49);
/* oklch */ color: oklch(50.3% 0.166 24.3);
Tailwind
colors: {
  custom: {
    50: '#cf7169',
    500: '#af2e31',
    950: '#000000',
  },
}
SCSS
$custom: #af2e31;
$custom-light: #cf7169;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e31",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 358.605,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.16552,
    "h": 24.3
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#AF2E31
secondary
#74C5C3
accent
#E2DE46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2E31

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

Preview Lab → · Contrast checker → · Palette generator →

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