#A52842#A52842

#A52842 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.3% C 0.160 H 14.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A52842
RGBrgb(165, 40, 66)
HSLhsl(348, 61%, 40%)
HSVhsv(348, 76%, 65%)
CMYKcmyk(0%, 75.8%, 60%, 35.3%)
CIE-LABlab(37.69, 51.74, 15.79)
CIE-LCHlch(37.69, 54.10, 16.97°)
OKLaboklab(48.31% 0.1556 0.0389)
OKLCHoklch(48.31% 0.16 14)
XYZxyz(17.2609, 9.9128, 6.1577)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52842 #28A58B
analogous
#A52880 #A52842 #A54C28
triadic
#A52842 #42A528 #2842A5
tetradic
#A52842 #80A528 #28A58B #4C28A5
square
#A52842 #80A528 #28A58B #4C28A5
split-complementary
#A52842 #28A54C #2880A5
monochromatic
#42101B #741C2E #A52842 #CF3B5A #DB6C83

Accessibility & contrast

On white

7.04
#A52842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A52842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52842
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52842#FFFFFF#000000##FFFFFF
##A528421.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4842
Deuteranopia (green-blind)
#6A623F
Tritanopia (blue-blind)
#B50033
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a52842;
/* rgb */ color: rgb(165, 40, 66);
/* oklch */ color: oklch(48.3% 0.160 14.0);
Tailwind
colors: {
  custom: {
    50: '#c66d76',
    500: '#a52842',
    950: '#000000',
  },
}
SCSS
$custom: #a52842;
$custom-light: #c66d76;
$custom-dark: #000000;
JSON
{
  "hex": "#a52842",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 347.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.16042,
    "h": 14
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#A52842
secondary
#67C2AF
accent
#E4C344
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A52842

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

Preview Lab → · Contrast checker → · Palette generator →

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