#8A2F28#8A2F28

#8A2F28 is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.8% C 0.126 H 27.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8A2F28
RGBrgb(138, 47, 40)
HSLhsl(4, 55%, 35%)
HSVhsv(4, 71%, 54%)
CMYKcmyk(0%, 65.9%, 71%, 45.9%)
CIE-LABlab(33.12, 38.30, 25.32)
CIE-LCHlch(33.12, 45.91, 33.47°)
OKLaboklab(43.81% 0.1111 0.0585)
OKLCHoklch(43.81% 0.126 27.8)
XYZxyz(11.8820, 7.5912, 2.8466)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F28 #28838A
analogous
#8A2852 #8A2F28 #8A6028
triadic
#8A2F28 #288A2F #2F288A
tetradic
#8A2F28 #528A28 #28838A #60288A
square
#8A2F28 #528A28 #28838A #60288A
split-complementary
#8A2F28 #288A60 #28528A
monochromatic
#2B0F0C #5B1F1A #8A2F28 #B93F36 #D0655D

Accessibility & contrast

On white

8.34
#8A2F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A2F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F28
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F28#FFFFFF#000000##FFFFFF
##8A2F281.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484127
Deuteranopia (green-blind)
#5E5525
Tritanopia (blue-blind)
#98192E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f28;
/* rgb */ color: rgb(138, 47, 40);
/* oklch */ color: oklch(43.8% 0.126 27.8);
Tailwind
colors: {
  custom: {
    50: '#b36c62',
    500: '#8a2f28',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f28;
$custom-light: #b36c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f28",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 4.286,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.12558,
    "h": 27.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#8A2F28
secondary
#59AFB5
accent
#D4DE49
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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