#AF2E32#AF2E32

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

Color values

HEX#AF2E32
RGBrgb(175, 46, 50)
HSLhsl(358, 58%, 43%)
HSVhsv(358, 74%, 69%)
CMYKcmyk(0%, 73.7%, 71.4%, 31.4%)
CIE-LABlab(40.08, 51.81, 29.20)
CIE-LCHlch(40.08, 59.47, 29.40°)
OKLaboklab(50.35% 0.1512 0.067)
OKLCHoklch(50.35% 0.165 23.9)
XYZxyz(19.2341, 11.3012, 4.1856)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E32 #2EAFAB
analogous
#AF2E72 #AF2E32 #AF6B2E
triadic
#AF2E32 #32AF2E #2E32AF
tetradic
#AF2E32 #72AF2E #2EAFAB #6B2EAF
square
#AF2E32 #72AF2E #2EAFAB #6B2EAF
split-complementary
#AF2E32 #2EAF6B #2E72AF
monochromatic
#4E1516 #7F2124 #AF2E32 #D04B4F #DC7B7E

Accessibility & contrast

On white

6.44
#AF2E32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E32
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E32#FFFFFF#000000##FFFFFF
##AF2E321.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D31
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e32;
/* rgb */ color: rgb(175, 46, 50);
/* oklch */ color: oklch(50.4% 0.165 23.9);
Tailwind
colors: {
  custom: {
    50: '#cf716a',
    500: '#af2e32',
    950: '#000000',
  },
}
SCSS
$custom: #af2e32;
$custom-light: #cf716a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e32",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 50
  },
  "hsl": {
    "h": 358.14,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.16541,
    "h": 23.9
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2E32

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

Preview Lab → · Contrast checker → · Palette generator →

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