#8A2F3B#8A2F3B

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

Color values

HEX#8A2F3B
RGBrgb(138, 47, 59)
HSLhsl(352, 49%, 36%)
HSVhsv(352, 66%, 54%)
CMYKcmyk(0%, 65.9%, 57.2%, 45.9%)
CIE-LABlab(33.46, 39.62, 13.73)
CIE-LCHlch(33.46, 41.93, 19.11°)
OKLaboklab(44.18% 0.1189 0.0341)
OKLCHoklch(44.18% 0.124 16)
XYZxyz(12.2883, 7.7537, 4.9863)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F3B #2F8A7E
analogous
#8A2F69 #8A2F3B #8A512F
triadic
#8A2F3B #3B8A2F #2F3B8A
tetradic
#8A2F3B #698A2F #2F8A7E #512F8A
square
#8A2F3B #698A2F #2F8A7E #512F8A
split-complementary
#8A2F3B #2F8A51 #2F698A
monochromatic
#2F1014 #5C1F27 #8A2F3B #B83F4F #CC6875

Accessibility & contrast

On white

8.23
#8A2F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F3B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F3B#FFFFFF#000000##FFFFFF
##8A2F3B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433B
Deuteranopia (green-blind)
#5C5639
Tritanopia (blue-blind)
#971E34
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2f3b;
/* rgb */ color: rgb(138, 47, 59);
/* oklch */ color: oklch(44.2% 0.124 16.0);
Tailwind
colors: {
  custom: {
    50: '#b16d70',
    500: '#8a2f3b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f3b;
$custom-light: #b16d70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f3b",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 59
  },
  "hsl": {
    "h": 352.088,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.12373,
    "h": 16
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#8A2F3B
secondary
#62B3A8
accent
#D9C74F
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A2F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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