#A52740#A52740

#A52740 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.2% C 0.161 H 14.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A52740
RGBrgb(165, 39, 64)
HSLhsl(348, 62%, 40%)
HSVhsv(348, 76%, 65%)
CMYKcmyk(0%, 76.4%, 61.2%, 35.3%)
CIE-LABlab(37.52, 51.94, 16.85)
CIE-LCHlch(37.52, 54.61, 17.97°)
OKLaboklab(48.18% 0.1559 0.0413)
OKLCHoklch(48.18% 0.161 14.8)
XYZxyz(17.1697, 9.8231, 5.8414)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52740 #27A58C
analogous
#A5277F #A52740 #A54D27
triadic
#A52740 #40A527 #2740A5
tetradic
#A52740 #7FA527 #27A58C #4D27A5
square
#A52740 #7FA527 #27A58C #4D27A5
split-complementary
#A52740 #27A54D #277FA5
monochromatic
#42101A #741B2D #A52740 #D03957 #DC6A81

Accessibility & contrast

On white

7.08
#A52740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A52740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52740
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52740#FFFFFF#000000##FFFFFF
##A527401.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4840
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#B50032
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52740;
/* rgb */ color: rgb(165, 39, 64);
/* oklch */ color: oklch(48.2% 0.161 14.8);
Tailwind
colors: {
  custom: {
    50: '#c76d74',
    500: '#a52740',
    950: '#000000',
  },
}
SCSS
$custom: #a52740;
$custom-light: #c76d74;
$custom-dark: #000000;
JSON
{
  "hex": "#a52740",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 348.095,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.16126,
    "h": 14.8
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#A52740
secondary
#66C2B0
accent
#E5C543
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A52740

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

Preview Lab → · Contrast checker → · Palette generator →

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