#A02540#A02540

#A02540 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.158 H 13.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A02540
RGBrgb(160, 37, 64)
HSLhsl(347, 62%, 39%)
HSVhsv(347, 77%, 63%)
CMYKcmyk(0%, 76.9%, 60%, 37.3%)
CIE-LABlab(36.31, 51.10, 15.05)
CIE-LCHlch(36.31, 53.28, 16.41°)
OKLaboklab(47.1% 0.1538 0.0372)
OKLCHoklch(47.1% 0.158 13.6)
XYZxyz(16.0858, 9.1692, 5.7723)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02540 #25A085
analogous
#A0257D #A02540 #A04725
triadic
#A02540 #40A025 #2540A0
tetradic
#A02540 #7DA025 #25A085 #4725A0
square
#A02540 #7DA025 #25A085 #4725A0
split-complementary
#A02540 #25A047 #257DA0
monochromatic
#3D0E18 #6E1A2C #A02540 #D03255 #DB647E

Accessibility & contrast

On white

7.41
#A02540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A02540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02540
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02540#FFFFFF#000000##FFFFFF
##A025401.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474540
Deuteranopia (green-blind)
#665F3D
Tritanopia (blue-blind)
#AF0030
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02540;
/* rgb */ color: rgb(160, 37, 64);
/* oklch */ color: oklch(47.1% 0.158 13.6);
Tailwind
colors: {
  custom: {
    50: '#c36b74',
    500: '#a02540',
    950: '#000000',
  },
}
SCSS
$custom: #a02540;
$custom-light: #c36b74;
$custom-dark: #000000;
JSON
{
  "hex": "#a02540",
  "rgb": {
    "r": 160,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 346.829,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.15827,
    "h": 13.6
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#A02540
secondary
#60C1AC
accent
#E6C242
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02540

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

Preview Lab → · Contrast checker → · Palette generator →

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