#8A262C#8A262C

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

Color values

HEX#8A262C
RGBrgb(138, 38, 44)
HSLhsl(356, 57%, 35%)
HSVhsv(356, 72%, 54%)
CMYKcmyk(0%, 72.5%, 68.1%, 45.9%)
CIE-LABlab(31.75, 42.43, 21.14)
CIE-LCHlch(31.75, 47.41, 26.49°)
OKLaboklab(42.8% 0.125 0.0499)
OKLCHoklch(42.8% 0.135 21.8)
XYZxyz(11.6302, 6.9730, 3.1159)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A262C #268A84
analogous
#8A265E #8A262C #8A5226
triadic
#8A262C #2C8A26 #262C8A
tetradic
#8A262C #5E8A26 #268A84 #52268A
square
#8A262C #5E8A26 #268A84 #52268A
split-complementary
#8A262C #268A52 #265E8A
monochromatic
#2A0C0D #5A191D #8A262C #BA333B #D15960

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A262C#FFFFFF#000000##FFFFFF
##8A262C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2B
Deuteranopia (green-blind)
#5B5229
Tritanopia (blue-blind)
#980629
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a262c;
/* rgb */ color: rgb(138, 38, 44);
/* oklch */ color: oklch(42.8% 0.135 21.8);
Tailwind
colors: {
  custom: {
    50: '#b36865',
    500: '#8a262c',
    950: '#000000',
  },
}
SCSS
$custom: #8a262c;
$custom-light: #b36865;
$custom-dark: #000000;
JSON
{
  "hex": "#8a262c",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 356.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.1346,
    "h": 21.8
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#8A262C
secondary
#56B6B0
accent
#E0D748
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A262C

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

Preview Lab → · Contrast checker → · Palette generator →

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