#A5272B#A5272B

#A5272B is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.162 H 24.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A5272B
RGBrgb(165, 39, 43)
HSLhsl(358, 62%, 40%)
HSVhsv(358, 76%, 65%)
CMYKcmyk(0%, 76.4%, 73.9%, 35.3%)
CIE-LABlab(37.17, 50.78, 29.53)
CIE-LCHlch(37.17, 58.74, 30.18°)
OKLaboklab(47.8% 0.1477 0.0669)
OKLCHoklch(47.8% 0.162 24.4)
XYZxyz(16.6805, 9.6274, 3.2650)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5272B #27A5A1
analogous
#A5276A #A5272B #A56227
triadic
#A5272B #2BA527 #272BA5
tetradic
#A5272B #6AA527 #27A5A1 #6227A5
square
#A5272B #6AA527 #27A5A1 #6227A5
split-complementary
#A5272B #27A562 #276AA5
monochromatic
#421011 #741B1E #A5272B #D0393E #DC6A6E

Accessibility & contrast

On white

7.18
#A5272B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A5272B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5272B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5272B#FFFFFF#000000##FFFFFF
##A5272B1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#B6002A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5272b;
/* rgb */ color: rgb(165, 39, 43);
/* oklch */ color: oklch(47.8% 0.162 24.4);
Tailwind
colors: {
  custom: {
    50: '#c86c64',
    500: '#a5272b',
    950: '#000000',
  },
}
SCSS
$custom: #a5272b;
$custom-light: #c86c64;
$custom-dark: #000000;
JSON
{
  "hex": "#a5272b",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 43
  },
  "hsl": {
    "h": 358.095,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.16214,
    "h": 24.4
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#A5272B
secondary
#66C2BF
accent
#E5E043
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A5272B

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

Preview Lab → · Contrast checker → · Palette generator →

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