#AA2742#AA2742

#AA2742 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.166 H 14.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AA2742
RGBrgb(170, 39, 66)
HSLhsl(348, 63%, 41%)
HSVhsv(348, 77%, 67%)
CMYKcmyk(0%, 77.1%, 61.2%, 33.3%)
CIE-LABlab(38.54, 53.58, 17.10)
CIE-LCHlch(38.54, 56.24, 17.71°)
OKLaboklab(49.12% 0.1609 0.0419)
OKLCHoklch(49.12% 0.166 14.6)
XYZxyz(18.2883, 10.3931, 6.1963)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2742 #27AA8F
analogous
#AA2783 #AA2742 #AA4E27
triadic
#AA2742 #42AA27 #2742AA
tetradic
#AA2742 #83AA27 #27AA8F #4E27AA
square
#AA2742 #83AA27 #27AA8F #4E27AA
split-complementary
#AA2742 #27AA4E #2783AA
monochromatic
#46101B #781C2F #AA2742 #D23C5B #DE6E85

Accessibility & contrast

On white

6.82
#AA2742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AA2742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2742
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2742#FFFFFF#000000##FFFFFF
##AA27421.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4942
Deuteranopia (green-blind)
#6D653E
Tritanopia (blue-blind)
#BA0032
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #aa2742;
/* rgb */ color: rgb(170, 39, 66);
/* oklch */ color: oklch(49.1% 0.166 14.6);
Tailwind
colors: {
  custom: {
    50: '#ca6d76',
    500: '#aa2742',
    950: '#000000',
  },
}
SCSS
$custom: #aa2742;
$custom-light: #ca6d76;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2742",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 347.634,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.16623,
    "h": 14.6
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#AA2742
secondary
#69C4B1
accent
#E6C442
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AA2742

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

Preview Lab → · Contrast checker → · Palette generator →

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