#8A262A#8A262A

#8A262A is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.135 H 22.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A262A
RGBrgb(138, 38, 42)
HSLhsl(358, 57%, 35%)
HSVhsv(358, 72%, 54%)
CMYKcmyk(0%, 72.5%, 69.6%, 45.9%)
CIE-LABlab(31.71, 42.31, 22.38)
CIE-LCHlch(31.71, 47.87, 27.87°)
OKLaboklab(42.77% 0.1242 0.0524)
OKLCHoklch(42.77% 0.135 22.9)
XYZxyz(11.5935, 6.9584, 2.9227)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A262A #268A86
analogous
#8A265C #8A262A #8A5426
triadic
#8A262A #2A8A26 #262A8A
tetradic
#8A262A #5C8A26 #268A86 #54268A
square
#8A262A #5C8A26 #268A86 #54268A
split-complementary
#8A262A #268A54 #265C8A
monochromatic
#2A0C0D #5A191B #8A262A #BA3339 #D1595E

Accessibility & contrast

On white

8.78
#8A262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A262A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A262A#FFFFFF#000000##FFFFFF
##8A262A1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D29
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#980528
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a262a;
/* rgb */ color: rgb(138, 38, 42);
/* oklch */ color: oklch(42.8% 0.135 22.9);
Tailwind
colors: {
  custom: {
    50: '#b36863',
    500: '#8a262a',
    950: '#000000',
  },
}
SCSS
$custom: #8a262a;
$custom-light: #b36863;
$custom-dark: #000000;
JSON
{
  "hex": "#8a262a",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 357.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42767,
    "c": 0.13479,
    "h": 22.9
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#8A262A
secondary
#56B6B2
accent
#E0DA48
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A262A

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

Preview Lab → · Contrast checker → · Palette generator →

#8A262A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva