#A52847#A52847

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

Color values

HEX#A52847
RGBrgb(165, 40, 71)
HSLhsl(345, 61%, 40%)
HSVhsv(345, 76%, 65%)
CMYKcmyk(0%, 75.8%, 57%, 35.3%)
CIE-LABlab(37.80, 52.11, 12.75)
CIE-LCHlch(37.80, 53.64, 13.75°)
OKLaboklab(48.43% 0.1576 0.032)
OKLCHoklch(48.43% 0.161 11.5)
XYZxyz(17.4149, 9.9743, 6.9682)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52847 #28A586
analogous
#A52885 #A52847 #A54728
triadic
#A52847 #47A528 #2847A5
tetradic
#A52847 #85A528 #28A586 #4728A5
square
#A52847 #85A528 #28A586 #4728A5
split-complementary
#A52847 #28A547 #2885A5
monochromatic
#42101D #741C32 #A52847 #CF3B60 #DB6C88

Accessibility & contrast

On white

7.01
#A52847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A52847
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52847#FFFFFF#000000##FFFFFF
##A528471.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494947
Deuteranopia (green-blind)
#696244
Tritanopia (blue-blind)
#B50035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a52847;
/* rgb */ color: rgb(165, 40, 71);
/* oklch */ color: oklch(48.4% 0.161 11.5);
Tailwind
colors: {
  custom: {
    50: '#c66d79',
    500: '#a52847',
    950: '#000000',
  },
}
SCSS
$custom: #a52847;
$custom-light: #c66d79;
$custom-dark: #000000;
JSON
{
  "hex": "#a52847",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 345.12,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.16084,
    "h": 11.5
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#A52847
secondary
#67C2AB
accent
#E4BC44
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140809
muted
#837A7B

Preview Lab

Preview with #A52847

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

Preview Lab → · Contrast checker → · Palette generator →

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