#A82540#A82540

#A82540 is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.5% C 0.166 H 14.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A82540
RGBrgb(168, 37, 64)
HSLhsl(348, 64%, 40%)
HSVhsv(348, 78%, 66%)
CMYKcmyk(0%, 78%, 61.9%, 34.1%)
CIE-LABlab(37.88, 53.49, 17.43)
CIE-LCHlch(37.88, 56.26, 18.05°)
OKLaboklab(48.55% 0.1605 0.0425)
OKLCHoklch(48.55% 0.166 14.8)
XYZxyz(17.7373, 10.0208, 5.8497)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82540 #25A88D
analogous
#A82581 #A82540 #A84C25
triadic
#A82540 #40A825 #2540A8
tetradic
#A82540 #81A825 #25A88D #4C25A8
square
#A82540 #81A825 #25A88D #4C25A8
split-complementary
#A82540 #25A84C #2581A8
monochromatic
#440F1A #761A2D #A82540 #D33757 #DE6981

Accessibility & contrast

On white

6.99
#A82540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A82540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82540
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82540#FFFFFF#000000##FFFFFF
##A825401.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4840
Deuteranopia (green-blind)
#6B633C
Tritanopia (blue-blind)
#B80031
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a82540;
/* rgb */ color: rgb(168, 37, 64);
/* oklch */ color: oklch(48.5% 0.166 14.8);
Tailwind
colors: {
  custom: {
    50: '#c96c74',
    500: '#a82540',
    950: '#000000',
  },
}
SCSS
$custom: #a82540;
$custom-light: #c96c74;
$custom-dark: #000000;
JSON
{
  "hex": "#a82540",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 347.634,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.16601,
    "h": 14.8
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#A82540
secondary
#65C4B0
accent
#E7C541
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A82540

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

Preview Lab → · Contrast checker → · Palette generator →

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