#8A2F2B#8A2F2B

#8A2F2B is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.9% C 0.125 H 26.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8A2F2B
RGBrgb(138, 47, 43)
HSLhsl(3, 52%, 35%)
HSVhsv(3, 69%, 54%)
CMYKcmyk(0%, 65.9%, 68.8%, 45.9%)
CIE-LABlab(33.16, 38.47, 23.52)
CIE-LCHlch(33.16, 45.09, 31.44°)
OKLaboklab(43.86% 0.1123 0.055)
OKLCHoklch(43.86% 0.125 26.1)
XYZxyz(11.9350, 7.6124, 3.1259)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F2B #2B868A
analogous
#8A2B57 #8A2F2B #8A5E2B
triadic
#8A2F2B #2B8A2F #2F2B8A
tetradic
#8A2F2B #578A2B #2B868A #5E2B8A
square
#8A2F2B #578A2B #2B868A #5E2B8A
split-complementary
#8A2F2B #2B8A5E #2B578A
monochromatic
#2D0F0E #5B1F1C #8A2F2B #B93F3A #CE6661

Accessibility & contrast

On white

8.33
#8A2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F2B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F2B#FFFFFF#000000##FFFFFF
##8A2F2B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422A
Deuteranopia (green-blind)
#5E5528
Tritanopia (blue-blind)
#981A2F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f2b;
/* rgb */ color: rgb(138, 47, 43);
/* oklch */ color: oklch(43.9% 0.125 26.1);
Tailwind
colors: {
  custom: {
    50: '#b26c64',
    500: '#8a2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f2b;
$custom-light: #b26c64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f2b",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 2.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.12504,
    "h": 26.1
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#8A2F2B
secondary
#5DB0B4
accent
#D6DC4C
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120705
muted
#817A7A

Preview Lab

Preview with #8A2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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