#8A1F35#8A1F35

#8A1F35 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.142 H 14.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8A1F35
RGBrgb(138, 31, 53)
HSLhsl(348, 63%, 33%)
HSVhsv(348, 78%, 54%)
CMYKcmyk(0%, 77.5%, 61.6%, 45.9%)
CIE-LABlab(30.98, 45.63, 14.30)
CIE-LCHlch(30.98, 47.82, 17.40°)
OKLaboklab(42.29% 0.1371 0.0351)
OKLCHoklch(42.29% 0.142 14.4)
XYZxyz(11.6150, 6.6420, 4.0379)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F35 #1F8A74
analogous
#8A1F6A #8A1F35 #8A3F1F
triadic
#8A1F35 #358A1F #1F358A
tetradic
#8A1F35 #6A8A1F #1F8A74 #3F1F8A
square
#8A1F35 #6A8A1F #1F8A74 #3F1F8A
split-complementary
#8A1F35 #1F8A3F #1F6A8A
monochromatic
#26090F #581422 #8A1F35 #BC2A48 #D74C69

Accessibility & contrast

On white

9.02
#8A1F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F35
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F35#FFFFFF#000000##FFFFFF
##8A1F351.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B35
Deuteranopia (green-blind)
#585132
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f35;
/* rgb */ color: rgb(138, 31, 53);
/* oklch */ color: oklch(42.3% 0.142 14.4);
Tailwind
colors: {
  custom: {
    50: '#b2656c',
    500: '#8a1f35',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f35;
$custom-light: #b2656c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f35",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 347.664,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.14154,
    "h": 14.4
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#8A1F35
secondary
#4BBAA3
accent
#E6C441
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1F35

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

Preview Lab → · Contrast checker → · Palette generator →

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