#AA2831#AA2831

#AA2831 is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.9% C 0.166 H 22.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AA2831
RGBrgb(170, 40, 49)
HSLhsl(356, 62%, 41%)
HSVhsv(356, 76%, 67%)
CMYKcmyk(0%, 76.5%, 71.2%, 33.3%)
CIE-LABlab(38.35, 52.27, 27.51)
CIE-LCHlch(38.35, 59.07, 27.76°)
OKLaboklab(48.89% 0.1531 0.0634)
OKLCHoklch(48.89% 0.166 22.5)
XYZxyz(17.8928, 10.2881, 3.9488)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2831 #28AAA1
analogous
#AA2872 #AA2831 #AA6028
triadic
#AA2831 #31AA28 #2831AA
tetradic
#AA2831 #72AA28 #28AAA1 #6028AA
square
#AA2831 #72AA28 #28AAA1 #6028AA
split-complementary
#AA2831 #28AA60 #2872AA
monochromatic
#471114 #781C23 #AA2831 #D23E48 #DD6F77

Accessibility & contrast

On white

6.87
#AA2831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AA2831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2831
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2831#FFFFFF#000000##FFFFFF
##AA28311.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#BB002D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #aa2831;
/* rgb */ color: rgb(170, 40, 49);
/* oklch */ color: oklch(48.9% 0.166 22.5);
Tailwind
colors: {
  custom: {
    50: '#cb6d69',
    500: '#aa2831',
    950: '#000000',
  },
}
SCSS
$custom: #aa2831;
$custom-light: #cb6d69;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2831",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.16574,
    "h": 22.5
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#AA2831
secondary
#6AC4BE
accent
#E5DA43
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AA2831

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

Preview Lab → · Contrast checker → · Palette generator →

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