#A5262B#A5262B

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

Color values

HEX#A5262B
RGBrgb(165, 38, 43)
HSLhsl(358, 63%, 40%)
HSVhsv(358, 77%, 65%)
CMYKcmyk(0%, 77%, 73.9%, 35.3%)
CIE-LABlab(37.05, 51.11, 29.39)
CIE-LCHlch(37.05, 58.96, 29.90°)
OKLaboklab(47.71% 0.1488 0.0666)
OKLCHoklch(47.71% 0.163 24.1)
XYZxyz(16.6481, 9.5626, 3.2542)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5262B #26A5A0
analogous
#A5266A #A5262B #A56126
triadic
#A5262B #2BA526 #262BA5
tetradic
#A5262B #6AA526 #26A5A0 #6126A5
square
#A5262B #6AA526 #26A5A0 #6126A5
split-complementary
#A5262B #26A561 #266AA5
monochromatic
#420F11 #731B1E #A5262B #D1373D #DC696E

Accessibility & contrast

On white

7.21
#A5262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5262B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5262B#FFFFFF#000000##FFFFFF
##A5262B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5262b;
/* rgb */ color: rgb(165, 38, 43);
/* oklch */ color: oklch(47.7% 0.163 24.1);
Tailwind
colors: {
  custom: {
    50: '#c86c64',
    500: '#a5262b',
    950: '#000000',
  },
}
SCSS
$custom: #a5262b;
$custom-light: #c86c64;
$custom-dark: #000000;
JSON
{
  "hex": "#a5262b",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 357.638,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.16298,
    "h": 24.1
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#A5262B
secondary
#64C3BF
accent
#E6DF42
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A5262B

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

Preview Lab → · Contrast checker → · Palette generator →

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