#A5273A#A5273A

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

Color values

HEX#A5273A
RGBrgb(165, 39, 58)
HSLhsl(351, 62%, 40%)
HSVhsv(351, 76%, 65%)
CMYKcmyk(0%, 76.4%, 64.8%, 35.3%)
CIE-LABlab(37.41, 51.56, 20.51)
CIE-LCHlch(37.41, 55.49, 21.69°)
OKLaboklab(48.05% 0.1535 0.0492)
OKLCHoklch(48.05% 0.161 17.8)
XYZxyz(17.0081, 9.7584, 4.9902)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5273A #27A592
analogous
#A52779 #A5273A #A55327
triadic
#A5273A #3AA527 #273AA5
tetradic
#A5273A #79A527 #27A592 #5327A5
square
#A5273A #79A527 #27A592 #5327A5
split-complementary
#A5273A #27A553 #2779A5
monochromatic
#421017 #741B29 #A5273A #D03950 #DC6A7C

Accessibility & contrast

On white

7.12
#A5273A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A5273A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5273A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5273A#FFFFFF#000000##FFFFFF
##A5273A1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B473A
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#B5002F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5273a;
/* rgb */ color: rgb(165, 39, 58);
/* oklch */ color: oklch(48.1% 0.161 17.8);
Tailwind
colors: {
  custom: {
    50: '#c76c70',
    500: '#a5273a',
    950: '#000000',
  },
}
SCSS
$custom: #a5273a;
$custom-light: #c76c70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5273a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 58
  },
  "hsl": {
    "h": 350.952,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.16117,
    "h": 17.8
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#A5273A
secondary
#66C2B4
accent
#E5CC43
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140807
muted
#837B7A

Preview Lab

Preview with #A5273A

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

Preview Lab → · Contrast checker → · Palette generator →

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