#A5273E#A5273E

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

Color values

HEX#A5273E
RGBrgb(165, 39, 62)
HSLhsl(349, 62%, 40%)
HSVhsv(349, 76%, 65%)
CMYKcmyk(0%, 76.4%, 62.4%, 35.3%)
CIE-LABlab(37.48, 51.81, 18.07)
CIE-LCHlch(37.48, 54.87, 19.23°)
OKLaboklab(48.13% 0.1551 0.0439)
OKLCHoklch(48.13% 0.161 15.8)
XYZxyz(17.1138, 9.8007, 5.5471)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5273E #27A58E
analogous
#A5277D #A5273E #A54F27
triadic
#A5273E #3EA527 #273EA5
tetradic
#A5273E #7DA527 #27A58E #4F27A5
square
#A5273E #7DA527 #27A58E #4F27A5
split-complementary
#A5273E #27A54F #277DA5
monochromatic
#421019 #741B2B #A5273E #D03955 #DC6A7F

Accessibility & contrast

On white

7.10
#A5273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5273E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5273E#FFFFFF#000000##FFFFFF
##A5273E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473E
Deuteranopia (green-blind)
#6A623B
Tritanopia (blue-blind)
#B50031
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5273e;
/* rgb */ color: rgb(165, 39, 62);
/* oklch */ color: oklch(48.1% 0.161 15.8);
Tailwind
colors: {
  custom: {
    50: '#c76c73',
    500: '#a5273e',
    950: '#000000',
  },
}
SCSS
$custom: #a5273e;
$custom-light: #c76c73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5273e",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 349.048,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48134,
    "c": 0.1612,
    "h": 15.8
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#A5273E
secondary
#66C2B1
accent
#E5C743
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140808
muted
#837B7B

Preview Lab

Preview with #A5273E

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

Preview Lab → · Contrast checker → · Palette generator →

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