#A5272C#A5272C

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

Color values

HEX#A5272C
RGBrgb(165, 39, 44)
HSLhsl(358, 62%, 40%)
HSVhsv(358, 76%, 65%)
CMYKcmyk(0%, 76.4%, 73.3%, 35.3%)
CIE-LABlab(37.18, 50.82, 28.94)
CIE-LCHlch(37.18, 58.48, 29.66°)
OKLaboklab(47.81% 0.1481 0.0658)
OKLCHoklch(47.81% 0.162 24)
XYZxyz(16.6991, 9.6348, 3.3628)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5272C #27A5A0
analogous
#A5276B #A5272C #A56127
triadic
#A5272C #2CA527 #272CA5
tetradic
#A5272C #6BA527 #27A5A0 #6127A5
square
#A5272C #6BA527 #27A5A0 #6127A5
split-complementary
#A5272C #27A561 #276BA5
monochromatic
#421012 #741B1F #A5272C #D0393F #DC6A6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5272C#FFFFFF#000000##FFFFFF
##A5272C1.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)
#4D462B
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#B6002A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5272c;
/* rgb */ color: rgb(165, 39, 44);
/* oklch */ color: oklch(47.8% 0.162 24.0);
Tailwind
colors: {
  custom: {
    50: '#c86c65',
    500: '#a5272c',
    950: '#000000',
  },
}
SCSS
$custom: #a5272c;
$custom-light: #c86c65;
$custom-dark: #000000;
JSON
{
  "hex": "#a5272c",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 357.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.47811,
    "c": 0.16203,
    "h": 24
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5272C

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

Preview Lab → · Contrast checker → · Palette generator →

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