#8A2F3D#8A2F3D

#8A2F3D is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.2% C 0.124 H 14.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8A2F3D
RGBrgb(138, 47, 61)
HSLhsl(351, 49%, 36%)
HSVhsv(351, 66%, 54%)
CMYKcmyk(0%, 65.9%, 55.8%, 45.9%)
CIE-LABlab(33.51, 39.78, 12.50)
CIE-LCHlch(33.51, 41.70, 17.44°)
OKLaboklab(44.23% 0.1198 0.0313)
OKLCHoklch(44.23% 0.124 14.6)
XYZxyz(12.3411, 7.7748, 5.2648)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F3D #2F8A7C
analogous
#8A2F6B #8A2F3D #8A4F2F
triadic
#8A2F3D #3D8A2F #2F3D8A
tetradic
#8A2F3D #6B8A2F #2F8A7C #4F2F8A
square
#8A2F3D #6B8A2F #2F8A7C #4F2F8A
split-complementary
#8A2F3D #2F8A4F #2F6B8A
monochromatic
#2F1015 #5C1F29 #8A2F3D #B83F51 #CC6877

Accessibility & contrast

On white

8.22
#8A2F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F3D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F3D#FFFFFF#000000##FFFFFF
##8A2F3D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433D
Deuteranopia (green-blind)
#5C563B
Tritanopia (blue-blind)
#971F35
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2f3d;
/* rgb */ color: rgb(138, 47, 61);
/* oklch */ color: oklch(44.2% 0.124 14.6);
Tailwind
colors: {
  custom: {
    50: '#b16d72',
    500: '#8a2f3d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f3d;
$custom-light: #b16d72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f3d",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 61
  },
  "hsl": {
    "h": 350.769,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4423,
    "c": 0.12379,
    "h": 14.6
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#8A2F3D
secondary
#62B3A6
accent
#D9C44F
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A2F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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