#A5272A#A5272A

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

Color values

HEX#A5272A
RGBrgb(165, 39, 42)
HSLhsl(359, 62%, 40%)
HSVhsv(359, 76%, 65%)
CMYKcmyk(0%, 76.4%, 74.5%, 35.3%)
CIE-LABlab(37.15, 50.73, 30.12)
CIE-LCHlch(37.15, 59.00, 30.69°)
OKLaboklab(47.78% 0.1473 0.068)
OKLCHoklch(47.78% 0.162 24.8)
XYZxyz(16.6624, 9.6201, 3.1696)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5272A #27A5A2
analogous
#A52769 #A5272A #A56327
triadic
#A5272A #2AA527 #272AA5
tetradic
#A5272A #69A527 #27A5A2 #6327A5
square
#A5272A #69A527 #27A5A2 #6327A5
split-complementary
#A5272A #27A563 #2769A5
monochromatic
#421011 #741B1D #A5272A #D0393D #DC6A6D

Accessibility & contrast

On white

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

On black

2.92
#A5272A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A5272A#FFFFFF#000000##FFFFFF
##A5272A1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5272a;
/* rgb */ color: rgb(165, 39, 42);
/* oklch */ color: oklch(47.8% 0.162 24.8);
Tailwind
colors: {
  custom: {
    50: '#c86c64',
    500: '#a5272a',
    950: '#000000',
  },
}
SCSS
$custom: #a5272a;
$custom-light: #c86c64;
$custom-dark: #000000;
JSON
{
  "hex": "#a5272a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 42
  },
  "hsl": {
    "h": 358.571,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.16225,
    "h": 24.8
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#A5272A
secondary
#66C2C0
accent
#E5E143
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A5272A

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

Preview Lab → · Contrast checker → · Palette generator →

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