#8A2F23#8A2F23

#8A2F23 is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.7% C 0.127 H 30.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A2F23
RGBrgb(138, 47, 35)
HSLhsl(7, 60%, 34%)
HSVhsv(7, 75%, 54%)
CMYKcmyk(0%, 65.9%, 74.6%, 45.9%)
CIE-LABlab(33.05, 38.04, 28.28)
CIE-LCHlch(33.05, 47.39, 36.63°)
OKLaboklab(43.74% 0.1092 0.064)
OKLCHoklch(43.74% 0.127 30.4)
XYZxyz(11.8024, 7.5593, 2.4274)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F23 #237E8A
analogous
#8A234B #8A2F23 #8A6323
triadic
#8A2F23 #238A2F #2F238A
tetradic
#8A2F23 #4B8A23 #237E8A #63238A
square
#8A2F23 #4B8A23 #237E8A #63238A
split-complementary
#8A2F23 #238A63 #234B8A
monochromatic
#280E0A #591E17 #8A2F23 #BB402F #D46354

Accessibility & contrast

On white

8.36
#8A2F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F23
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F23#FFFFFF#000000##FFFFFF
##8A2F231.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484121
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#98182D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f23;
/* rgb */ color: rgb(138, 47, 35);
/* oklch */ color: oklch(43.7% 0.127 30.4);
Tailwind
colors: {
  custom: {
    50: '#b36c5e',
    500: '#8a2f23',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f23;
$custom-light: #b36c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f23",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 6.99,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.12657,
    "h": 30.4
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#8A2F23
secondary
#51ACB7
accent
#D0E345
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A2F23

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

Preview Lab → · Contrast checker → · Palette generator →

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