#8A2938#8A2938

#8A2938 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.131 H 15.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8A2938
RGBrgb(138, 41, 56)
HSLhsl(351, 54%, 35%)
HSVhsv(351, 70%, 54%)
CMYKcmyk(0%, 70.3%, 59.4%, 45.9%)
CIE-LABlab(32.43, 42.02, 14.28)
CIE-LCHlch(32.43, 44.38, 18.77°)
OKLaboklab(43.39% 0.1261 0.0353)
OKLCHoklch(43.39% 0.131 15.6)
XYZxyz(11.9891, 7.2763, 4.5138)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2938 #298A7B
analogous
#8A2968 #8A2938 #8A4B29
triadic
#8A2938 #388A29 #29388A
tetradic
#8A2938 #688A29 #298A7B #4B298A
square
#8A2938 #688A29 #298A7B #4B298A
split-complementary
#8A2938 #298A4B #29688A
monochromatic
#2C0D12 #5B1B25 #8A2938 #B9374B #CF5E70

Accessibility & contrast

On white

8.55
#8A2938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A2938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2938
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2938#FFFFFF#000000##FFFFFF
##8A29381.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F38
Deuteranopia (green-blind)
#5A5436
Tritanopia (blue-blind)
#97132F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2938;
/* rgb */ color: rgb(138, 41, 56);
/* oklch */ color: oklch(43.4% 0.131 15.6);
Tailwind
colors: {
  custom: {
    50: '#b2696e',
    500: '#8a2938',
    950: '#000000',
  },
}
SCSS
$custom: #8a2938;
$custom-light: #b2696e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2938",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 350.722,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43387,
    "c": 0.13091,
    "h": 15.6
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#8A2938
secondary
#5AB5A7
accent
#DEC74A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A2938

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

Preview Lab → · Contrast checker → · Palette generator →

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