#A5262C#A5262C

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

Color values

HEX#A5262C
RGBrgb(165, 38, 44)
HSLhsl(357, 63%, 40%)
HSVhsv(357, 77%, 65%)
CMYKcmyk(0%, 77%, 73.3%, 35.3%)
CIE-LABlab(37.06, 51.16, 28.80)
CIE-LCHlch(37.06, 58.71, 29.38°)
OKLaboklab(47.72% 0.1491 0.0655)
OKLCHoklch(47.72% 0.163 23.7)
XYZxyz(16.6667, 9.5700, 3.3520)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5262C #26A59F
analogous
#A5266C #A5262C #A55F26
triadic
#A5262C #2CA526 #262CA5
tetradic
#A5262C #6CA526 #26A59F #5F26A5
square
#A5262C #6CA526 #26A59F #5F26A5
split-complementary
#A5262C #26A55F #266CA5
monochromatic
#420F11 #731B1F #A5262C #D1373E #DC696E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a5262c;
/* rgb */ color: rgb(165, 38, 44);
/* oklch */ color: oklch(47.7% 0.163 23.7);
Tailwind
colors: {
  custom: {
    50: '#c86c65',
    500: '#a5262c',
    950: '#000000',
  },
}
SCSS
$custom: #a5262c;
$custom-light: #c86c65;
$custom-dark: #000000;
JSON
{
  "hex": "#a5262c",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 357.165,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.16288,
    "h": 23.7
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#A5262C
secondary
#64C3BE
accent
#E6DE42
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A5262C

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

Preview Lab → · Contrast checker → · Palette generator →

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