#8A1F30#8A1F30

#8A1F30 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 17.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8A1F30
RGBrgb(138, 31, 48)
HSLhsl(350, 63%, 33%)
HSVhsv(350, 78%, 54%)
CMYKcmyk(0%, 77.5%, 65.2%, 45.9%)
CIE-LABlab(30.87, 45.30, 17.45)
CIE-LCHlch(30.87, 48.54, 21.07°)
OKLaboklab(42.18% 0.135 0.042)
OKLCHoklch(42.18% 0.141 17.3)
XYZxyz(11.5059, 6.5984, 3.4635)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F30 #1F8A79
analogous
#8A1F65 #8A1F30 #8A431F
triadic
#8A1F30 #308A1F #1F308A
tetradic
#8A1F30 #658A1F #1F8A79 #431F8A
square
#8A1F30 #658A1F #1F8A79 #431F8A
split-complementary
#8A1F30 #1F8A43 #1F658A
monochromatic
#26090D #58141F #8A1F30 #BC2A41 #D74C62

Accessibility & contrast

On white

9.05
#8A1F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F30
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F30#FFFFFF#000000##FFFFFF
##8A1F301.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A30
Deuteranopia (green-blind)
#58512D
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f30;
/* rgb */ color: rgb(138, 31, 48);
/* oklch */ color: oklch(42.2% 0.141 17.3);
Tailwind
colors: {
  custom: {
    50: '#b36568',
    500: '#8a1f30',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f30;
$custom-light: #b36568;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f30",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 350.467,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.14141,
    "h": 17.3
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#8A1F30
secondary
#4BBAA8
accent
#E6CC41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1F30

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

Preview Lab → · Contrast checker → · Palette generator →

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