#A52845#A52845

#A52845 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.4% C 0.161 H 12.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A52845
RGBrgb(165, 40, 69)
HSLhsl(346, 61%, 40%)
HSVhsv(346, 76%, 65%)
CMYKcmyk(0%, 75.8%, 58.2%, 35.3%)
CIE-LABlab(37.75, 51.96, 13.97)
CIE-LCHlch(37.75, 53.80, 15.05°)
OKLaboklab(48.38% 0.1568 0.0348)
OKLCHoklch(48.38% 0.161 12.5)
XYZxyz(17.3517, 9.9491, 6.6358)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52845 #28A588
analogous
#A52883 #A52845 #A54928
triadic
#A52845 #45A528 #2845A5
tetradic
#A52845 #83A528 #28A588 #4928A5
square
#A52845 #83A528 #28A588 #4928A5
split-complementary
#A52845 #28A549 #2883A5
monochromatic
#42101C #741C30 #A52845 #CF3B5D #DB6C86

Accessibility & contrast

On white

7.02
#A52845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A52845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52845
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52845#FFFFFF#000000##FFFFFF
##A528451.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494845
Deuteranopia (green-blind)
#6A6242
Tritanopia (blue-blind)
#B50034
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a52845;
/* rgb */ color: rgb(165, 40, 69);
/* oklch */ color: oklch(48.4% 0.161 12.5);
Tailwind
colors: {
  custom: {
    50: '#c66d78',
    500: '#a52845',
    950: '#000000',
  },
}
SCSS
$custom: #a52845;
$custom-light: #c66d78;
$custom-dark: #000000;
JSON
{
  "hex": "#a52845",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 346.08,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.16064,
    "h": 12.5
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#A52845
secondary
#67C2AD
accent
#E4BF44
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A52845

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

Preview Lab → · Contrast checker → · Palette generator →

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