#8A2F34#8A2F34

#8A2F34 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.0% C 0.124 H 20.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8A2F34
RGBrgb(138, 47, 52)
HSLhsl(357, 49%, 36%)
HSVhsv(357, 66%, 54%)
CMYKcmyk(0%, 65.9%, 62.3%, 45.9%)
CIE-LABlab(33.32, 39.07, 18.03)
CIE-LCHlch(33.32, 43.03, 24.78°)
OKLaboklab(44.03% 0.116 0.0437)
OKLCHoklch(44.03% 0.124 20.6)
XYZxyz(12.1187, 7.6859, 4.0935)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F34 #2F8A85
analogous
#8A2F62 #8A2F34 #8A582F
triadic
#8A2F34 #348A2F #2F348A
tetradic
#8A2F34 #628A2F #2F8A85 #582F8A
square
#8A2F34 #628A2F #2F8A85 #582F8A
split-complementary
#8A2F34 #2F8A58 #2F628A
monochromatic
#2F1012 #5C1F23 #8A2F34 #B83F45 #CC686D

Accessibility & contrast

On white

8.28
#8A2F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A2F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F34
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F34#FFFFFF#000000##FFFFFF
##8A2F341.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464234
Deuteranopia (green-blind)
#5D5532
Tritanopia (blue-blind)
#971C31
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f34;
/* rgb */ color: rgb(138, 47, 52);
/* oklch */ color: oklch(44.0% 0.124 20.6);
Tailwind
colors: {
  custom: {
    50: '#b26d6b',
    500: '#8a2f34',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f34;
$custom-light: #b26d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f34",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 52
  },
  "hsl": {
    "h": 356.703,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.12394,
    "h": 20.6
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#8A2F34
secondary
#62B3AE
accent
#D9D14F
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2F34

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

Preview Lab → · Contrast checker → · Palette generator →

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