#8A262B#8A262B

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

Color values

HEX#8A262B
RGBrgb(138, 38, 43)
HSLhsl(357, 57%, 35%)
HSVhsv(357, 72%, 54%)
CMYKcmyk(0%, 72.5%, 68.8%, 45.9%)
CIE-LABlab(31.73, 42.37, 21.76)
CIE-LCHlch(31.73, 47.63, 27.19°)
OKLaboklab(42.79% 0.1246 0.0511)
OKLCHoklch(42.79% 0.135 22.3)
XYZxyz(11.6116, 6.9656, 3.0181)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A262B #268A85
analogous
#8A265D #8A262B #8A5326
triadic
#8A262B #2B8A26 #262B8A
tetradic
#8A262B #5D8A26 #268A85 #53268A
square
#8A262B #5D8A26 #268A85 #53268A
split-complementary
#8A262B #268A53 #265D8A
monochromatic
#2A0C0D #5A191C #8A262B #BA333A #D1595F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A262B#FFFFFF#000000##FFFFFF
##8A262B1.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)
#423D2A
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#980629
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a262b;
/* rgb */ color: rgb(138, 38, 43);
/* oklch */ color: oklch(42.8% 0.135 22.3);
Tailwind
colors: {
  custom: {
    50: '#b36864',
    500: '#8a262b',
    950: '#000000',
  },
}
SCSS
$custom: #8a262b;
$custom-light: #b36864;
$custom-dark: #000000;
JSON
{
  "hex": "#8a262b",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 357,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.13469,
    "h": 22.3
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#8A262B
secondary
#56B6B1
accent
#E0D848
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A262B

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

Preview Lab → · Contrast checker → · Palette generator →

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