#AF1F41#AF1F41

#AF1F41 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.177 H 14.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AF1F41
RGBrgb(175, 31, 65)
HSLhsl(346, 70%, 40%)
HSVhsv(346, 82%, 69%)
CMYKcmyk(0%, 82.3%, 62.9%, 31.4%)
CIE-LABlab(38.69, 57.27, 18.12)
CIE-LCHlch(38.69, 60.07, 17.55°)
OKLaboklab(49.4% 0.1719 0.044)
OKLCHoklch(49.4% 0.177 14.4)
XYZxyz(19.1254, 10.4785, 6.0155)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1F41 #1FAF8D
analogous
#AF1F89 #AF1F41 #AF451F
triadic
#AF1F41 #41AF1F #1F41AF
tetradic
#AF1F41 #89AF1F #1FAF8D #451FAF
square
#AF1F41 #89AF1F #1FAF8D #451FAF
split-complementary
#AF1F41 #1FAF45 #1F89AF
monochromatic
#470D1A #7B162E #AF1F41 #DA3159 #E46583

Accessibility & contrast

On white

6.78
#AF1F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AF1F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1F41
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1F41#FFFFFF#000000##FFFFFF
##AF1F411.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4841
Deuteranopia (green-blind)
#6E663D
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af1f41;
/* rgb */ color: rgb(175, 31, 65);
/* oklch */ color: oklch(49.4% 0.177 14.4);
Tailwind
colors: {
  custom: {
    50: '#ce6b75',
    500: '#af1f41',
    950: '#000000',
  },
}
SCSS
$custom: #af1f41;
$custom-light: #ce6b75;
$custom-dark: #000000;
JSON
{
  "hex": "#af1f41",
  "rgb": {
    "r": 175,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 345.833,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.17746,
    "h": 14.4
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#AF1F41
secondary
#61C9B0
accent
#EDC33B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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