#8A262D#8A262D

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

Color values

HEX#8A262D
RGBrgb(138, 38, 45)
HSLhsl(356, 57%, 35%)
HSVhsv(356, 72%, 54%)
CMYKcmyk(0%, 72.5%, 67.4%, 45.9%)
CIE-LABlab(31.76, 42.49, 20.53)
CIE-LCHlch(31.76, 47.19, 25.78°)
OKLaboklab(42.82% 0.1254 0.0486)
OKLCHoklch(42.82% 0.135 21.2)
XYZxyz(11.6492, 6.9807, 3.2161)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A262D #268A83
analogous
#8A265F #8A262D #8A5126
triadic
#8A262D #2D8A26 #262D8A
tetradic
#8A262D #5F8A26 #268A83 #51268A
square
#8A262D #5F8A26 #268A83 #51268A
split-complementary
#8A262D #268A51 #265F8A
monochromatic
#2A0C0E #5A191D #8A262D #BA333D #D15962

Accessibility & contrast

On white

8.77
#8A262D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A262D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A262D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A262D#FFFFFF#000000##FFFFFF
##8A262D1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2C
Deuteranopia (green-blind)
#5B532A
Tritanopia (blue-blind)
#980729
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a262d;
/* rgb */ color: rgb(138, 38, 45);
/* oklch */ color: oklch(42.8% 0.135 21.2);
Tailwind
colors: {
  custom: {
    50: '#b36865',
    500: '#8a262d',
    950: '#000000',
  },
}
SCSS
$custom: #8a262d;
$custom-light: #b36865;
$custom-dark: #000000;
JSON
{
  "hex": "#8a262d",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 355.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42821,
    "c": 0.13451,
    "h": 21.2
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#8A262D
secondary
#56B6AF
accent
#E0D548
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A262D

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

Preview Lab → · Contrast checker → · Palette generator →

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