#8A2F29#8A2F29

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

Color values

HEX#8A2F29
RGBrgb(138, 47, 41)
HSLhsl(4, 54%, 35%)
HSVhsv(4, 70%, 54%)
CMYKcmyk(0%, 65.9%, 70.3%, 45.9%)
CIE-LABlab(33.13, 38.35, 24.73)
CIE-LCHlch(33.13, 45.63, 32.81°)
OKLaboklab(43.83% 0.1115 0.0574)
OKLCHoklch(43.83% 0.125 27.2)
XYZxyz(11.8992, 7.5981, 2.9374)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F29 #29848A
analogous
#8A2954 #8A2F29 #8A5F29
triadic
#8A2F29 #298A2F #2F298A
tetradic
#8A2F29 #548A29 #29848A #5F298A
square
#8A2F29 #548A29 #29848A #5F298A
split-complementary
#8A2F29 #298A5F #29548A
monochromatic
#2C0F0D #5B1F1B #8A2F29 #B93F37 #CF655E

Accessibility & contrast

On white

8.34
#8A2F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F29
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F29#FFFFFF#000000##FFFFFF
##8A2F291.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484128
Deuteranopia (green-blind)
#5E5526
Tritanopia (blue-blind)
#98192E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f29;
/* rgb */ color: rgb(138, 47, 41);
/* oklch */ color: oklch(43.8% 0.125 27.2);
Tailwind
colors: {
  custom: {
    50: '#b36c63',
    500: '#8a2f29',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f29;
$custom-light: #b36c63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f29",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 41
  },
  "hsl": {
    "h": 3.711,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.12539,
    "h": 27.2
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#8A2F29
secondary
#5AAFB5
accent
#D4DE4A
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A2F29

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

Preview Lab → · Contrast checker → · Palette generator →

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