#8A2F26#8A2F26

#8A2F26 is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.8% C 0.126 H 28.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8A2F26
RGBrgb(138, 47, 38)
HSLhsl(5, 57%, 35%)
HSVhsv(5, 72%, 54%)
CMYKcmyk(0%, 65.9%, 72.5%, 45.9%)
CIE-LABlab(33.09, 38.19, 26.51)
CIE-LCHlch(33.09, 46.49, 34.77°)
OKLaboklab(43.78% 0.1103 0.0608)
OKLCHoklch(43.78% 0.126 28.9)
XYZxyz(11.8488, 7.5779, 2.6721)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F26 #26818A
analogous
#8A264F #8A2F26 #8A6126
triadic
#8A2F26 #268A2F #2F268A
tetradic
#8A2F26 #4F8A26 #26818A #61268A
square
#8A2F26 #4F8A26 #26818A #61268A
split-complementary
#8A2F26 #268A61 #264F8A
monochromatic
#2A0E0C #5A1F19 #8A2F26 #BA3F33 #D16459

Accessibility & contrast

On white

8.35
#8A2F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A2F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F26
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F26#FFFFFF#000000##FFFFFF
##8A2F261.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484124
Deuteranopia (green-blind)
#5F5523
Tritanopia (blue-blind)
#98182D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f26;
/* rgb */ color: rgb(138, 47, 38);
/* oklch */ color: oklch(43.8% 0.126 28.9);
Tailwind
colors: {
  custom: {
    50: '#b36c60',
    500: '#8a2f26',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f26;
$custom-light: #b36c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f26",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 5.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.12596,
    "h": 28.9
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#8A2F26
secondary
#56ADB6
accent
#D2E048
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120705
muted
#817A79

Preview Lab

Preview with #8A2F26

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

Preview Lab → · Contrast checker → · Palette generator →

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