#AA2542#AA2542

#AA2542 is a mid, vivid red. Relative luminance 0.103; OKLCH L 49.0% C 0.168 H 14.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AA2542
RGBrgb(170, 37, 66)
HSLhsl(347, 64%, 41%)
HSVhsv(347, 78%, 67%)
CMYKcmyk(0%, 78.2%, 61.2%, 33.3%)
CIE-LABlab(38.31, 54.21, 16.80)
CIE-LCHlch(38.31, 56.75, 17.22°)
OKLaboklab(48.95% 0.1629 0.0412)
OKLCHoklch(48.95% 0.168 14.2)
XYZxyz(18.2244, 10.2652, 6.1750)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2542 #25AA8D
analogous
#AA2584 #AA2542 #AA4A25
triadic
#AA2542 #42AA25 #2542AA
tetradic
#AA2542 #84AA25 #25AA8D #4A25AA
square
#AA2542 #84AA25 #25AA8D #4A25AA
split-complementary
#AA2542 #25AA4A #2584AA
monochromatic
#450F1B #781A2E #AA2542 #D4385A #DF6B84

Accessibility & contrast

On white

6.88
#AA2542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#AA2542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2542
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2542#FFFFFF#000000##FFFFFF
##AA25421.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4942
Deuteranopia (green-blind)
#6C643E
Tritanopia (blue-blind)
#BA0031
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #aa2542;
/* rgb */ color: rgb(170, 37, 66);
/* oklch */ color: oklch(49.0% 0.168 14.2);
Tailwind
colors: {
  custom: {
    50: '#ca6d76',
    500: '#aa2542',
    950: '#000000',
  },
}
SCSS
$custom: #aa2542;
$custom-light: #ca6d76;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2542",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 346.917,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.16802,
    "h": 14.2
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#AA2542
secondary
#66C5B0
accent
#E7C341
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AA2542

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

Preview Lab → · Contrast checker → · Palette generator →

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