#AA3840#AA3840

#AA3840 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.149 H 20.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA3840
RGBrgb(170, 56, 64)
HSLhsl(356, 50%, 44%)
HSVhsv(356, 67%, 67%)
CMYKcmyk(0%, 67.1%, 62.4%, 33.3%)
CIE-LABlab(40.81, 47.06, 21.34)
CIE-LCHlch(40.81, 51.67, 24.39°)
OKLaboklab(50.8% 0.1397 0.0515)
OKLCHoklch(50.8% 0.149 20.2)
XYZxyz(18.9190, 11.7472, 6.1207)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3840 #38AAA2
analogous
#AA3879 #AA3840 #AA6938
triadic
#AA3840 #40AA38 #3840AA
tetradic
#AA3840 #79AA38 #38AAA2 #6938AA
square
#AA3840 #79AA38 #38AAA2 #6938AA
split-complementary
#AA3840 #38AA69 #3879AA
monochromatic
#4E1A1D #7C292F #AA3840 #C8575F #D7858B

Accessibility & contrast

On white

6.27
#AA3840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA3840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3840
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3840#FFFFFF#000000##FFFFFF
##AA38401.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#73693D
Tritanopia (blue-blind)
#BA1E3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa3840;
/* rgb */ color: rgb(170, 56, 64);
/* oklch */ color: oklch(50.8% 0.149 20.2);
Tailwind
colors: {
  custom: {
    50: '#ca7574',
    500: '#aa3840',
    950: '#000000',
  },
}
SCSS
$custom: #aa3840;
$custom-light: #ca7574;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3840",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 355.789,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.14885,
    "h": 20.2
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#AA3840
secondary
#7DC1BC
accent
#DAD04E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140908
muted
#837B7B

Preview Lab

Preview with #AA3840

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

Preview Lab → · Contrast checker → · Palette generator →

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