#A5262F#A5262F

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

Color values

HEX#A5262F
RGBrgb(165, 38, 47)
HSLhsl(356, 63%, 40%)
HSVhsv(356, 77%, 65%)
CMYKcmyk(0%, 77%, 71.5%, 35.3%)
CIE-LABlab(37.10, 51.30, 27.01)
CIE-LCHlch(37.10, 57.97, 27.77°)
OKLaboklab(47.77% 0.1502 0.0622)
OKLCHoklch(47.77% 0.163 22.5)
XYZxyz(16.7252, 9.5934, 3.6598)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5262F #26A59C
analogous
#A5266F #A5262F #A55D26
triadic
#A5262F #2FA526 #262FA5
tetradic
#A5262F #6FA526 #26A59C #5D26A5
square
#A5262F #6FA526 #26A59C #5D26A5
split-complementary
#A5262F #26A55D #266FA5
monochromatic
#420F13 #731B21 #A5262F #D13742 #DC6971

Accessibility & contrast

On white

7.20
#A5262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5262F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5262F#FFFFFF#000000##FFFFFF
##A5262F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462E
Deuteranopia (green-blind)
#6B612B
Tritanopia (blue-blind)
#B6002B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5262f;
/* rgb */ color: rgb(165, 38, 47);
/* oklch */ color: oklch(47.8% 0.163 22.5);
Tailwind
colors: {
  custom: {
    50: '#c86c67',
    500: '#a5262f',
    950: '#000000',
  },
}
SCSS
$custom: #a5262f;
$custom-light: #c86c67;
$custom-dark: #000000;
JSON
{
  "hex": "#a5262f",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 355.748,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.1626,
    "h": 22.5
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#A5262F
secondary
#64C3BC
accent
#E6DA42
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5262F

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

Preview Lab → · Contrast checker → · Palette generator →

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