#AE1F42#AE1F42

#AE1F42 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.177 H 13.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AE1F42
RGBrgb(174, 31, 66)
HSLhsl(345, 70%, 40%)
HSVhsv(345, 82%, 68%)
CMYKcmyk(0%, 82.2%, 62.1%, 31.8%)
CIE-LABlab(38.51, 57.05, 17.20)
CIE-LCHlch(38.51, 59.59, 16.78°)
OKLaboklab(49.24% 0.1716 0.042)
OKLCHoklch(49.24% 0.177 13.8)
XYZxyz(18.9309, 10.3749, 6.1589)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F42 #1FAE8B
analogous
#AE1F89 #AE1F42 #AE441F
triadic
#AE1F42 #42AE1F #1F42AE
tetradic
#AE1F42 #89AE1F #1FAE8B #441FAE
square
#AE1F42 #89AE1F #1FAE8B #441FAE
split-complementary
#AE1F42 #1FAE44 #1F89AE
monochromatic
#460C1B #7A162E #AE1F42 #DA305A #E36483

Accessibility & contrast

On white

6.83
#AE1F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AE1F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F42
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F42#FFFFFF#000000##FFFFFF
##AE1F421.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4842
Deuteranopia (green-blind)
#6E653E
Tritanopia (blue-blind)
#BF002F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ae1f42;
/* rgb */ color: rgb(174, 31, 66);
/* oklch */ color: oklch(49.2% 0.177 13.8);
Tailwind
colors: {
  custom: {
    50: '#ce6b76',
    500: '#ae1f42',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f42;
$custom-light: #ce6b76;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f42",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 345.315,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.17662,
    "h": 13.8
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#AE1F42
secondary
#60C8AF
accent
#EDC13B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AE1F42

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

Preview Lab → · Contrast checker → · Palette generator →

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