#AF3241#AF3241

#AF3241 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.161 H 18.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF3241
RGBrgb(175, 50, 65)
HSLhsl(353, 56%, 44%)
HSVhsv(353, 71%, 69%)
CMYKcmyk(0%, 71.4%, 62.9%, 31.4%)
CIE-LABlab(40.86, 51.18, 20.96)
CIE-LCHlch(40.86, 55.30, 22.28°)
OKLaboklab(51.01% 0.1523 0.0506)
OKLCHoklch(51.01% 0.161 18.4)
XYZxyz(19.7759, 11.7797, 6.2324)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3241 #32AFA0
analogous
#AF3280 #AF3241 #AF6232
triadic
#AF3241 #41AF32 #3241AF
tetradic
#AF3241 #80AF32 #32AFA0 #6232AF
square
#AF3241 #80AF32 #32AFA0 #6232AF
split-complementary
#AF3241 #32AF62 #3280AF
monochromatic
#50171E #7F242F #AF3241 #CD5160 #DB818B

Accessibility & contrast

On white

6.26
#AF3241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF3241 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3241
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3241#FFFFFF#000000##FFFFFF
##AF32411.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545041
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#C00D38
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3241;
/* rgb */ color: rgb(175, 50, 65);
/* oklch */ color: oklch(51.0% 0.161 18.4);
Tailwind
colors: {
  custom: {
    50: '#ce7375',
    500: '#af3241',
    950: '#000000',
  },
}
SCSS
$custom: #af3241;
$custom-light: #ce7375;
$custom-dark: #000000;
JSON
{
  "hex": "#af3241",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 65
  },
  "hsl": {
    "h": 352.8,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.16052,
    "h": 18.4
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#AF3241
secondary
#79C4BB
accent
#DFCD49
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3241

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

Preview Lab → · Contrast checker → · Palette generator →

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