#AA2842#AA2842

#AA2842 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 14.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AA2842
RGBrgb(170, 40, 66)
HSLhsl(348, 62%, 41%)
HSVhsv(348, 76%, 67%)
CMYKcmyk(0%, 76.5%, 61.2%, 33.3%)
CIE-LABlab(38.66, 53.25, 17.26)
CIE-LCHlch(38.66, 55.98, 17.96°)
OKLaboklab(49.21% 0.1598 0.0422)
OKLCHoklch(49.21% 0.165 14.8)
XYZxyz(18.3216, 10.4597, 6.2074)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2842 #28AA90
analogous
#AA2883 #AA2842 #AA4F28
triadic
#AA2842 #42AA28 #2842AA
tetradic
#AA2842 #83AA28 #28AA90 #4F28AA
square
#AA2842 #83AA28 #28AA90 #4F28AA
split-complementary
#AA2842 #28AA4F #2883AA
monochromatic
#47111C #781C2F #AA2842 #D23E5B #DD6F85

Accessibility & contrast

On white

6.79
#AA2842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AA2842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2842
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2842#FFFFFF#000000##FFFFFF
##AA28421.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A42
Deuteranopia (green-blind)
#6D653F
Tritanopia (blue-blind)
#BA0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #aa2842;
/* rgb */ color: rgb(170, 40, 66);
/* oklch */ color: oklch(49.2% 0.165 14.8);
Tailwind
colors: {
  custom: {
    50: '#ca6e76',
    500: '#aa2842',
    950: '#000000',
  },
}
SCSS
$custom: #aa2842;
$custom-light: #ca6e76;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2842",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 348,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.16531,
    "h": 14.8
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#AA2842
secondary
#6AC4B2
accent
#E5C543
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AA2842

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

Preview Lab → · Contrast checker → · Palette generator →

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