#A5262A#A5262A

#A5262A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.7% C 0.163 H 24.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A5262A
RGBrgb(165, 38, 42)
HSLhsl(358, 63%, 40%)
HSVhsv(358, 77%, 65%)
CMYKcmyk(0%, 77%, 74.5%, 35.3%)
CIE-LABlab(37.03, 51.07, 29.98)
CIE-LCHlch(37.03, 59.22, 30.42°)
OKLaboklab(47.69% 0.1484 0.0677)
OKLCHoklch(47.69% 0.163 24.5)
XYZxyz(16.6300, 9.5553, 3.1588)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5262A #26A5A1
analogous
#A5266A #A5262A #A56126
triadic
#A5262A #2AA526 #262AA5
tetradic
#A5262A #6AA526 #26A5A1 #6126A5
square
#A5262A #6AA526 #26A5A1 #6126A5
split-complementary
#A5262A #26A561 #266AA5
monochromatic
#420F11 #731B1D #A5262A #D1373C #DC696D

Accessibility & contrast

On white

7.22
#A5262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A5262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5262A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5262A#FFFFFF#000000##FFFFFF
##A5262A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5262a;
/* rgb */ color: rgb(165, 38, 42);
/* oklch */ color: oklch(47.7% 0.163 24.5);
Tailwind
colors: {
  custom: {
    50: '#c86c64',
    500: '#a5262a',
    950: '#000000',
  },
}
SCSS
$custom: #a5262a;
$custom-light: #c86c64;
$custom-dark: #000000;
JSON
{
  "hex": "#a5262a",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 358.11,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47693,
    "c": 0.16309,
    "h": 24.5
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#A5262A
secondary
#64C3C0
accent
#E6E042
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A5262A

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

Preview Lab → · Contrast checker → · Palette generator →

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