#8E1830#8E1830

#8E1830 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 16.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1830
RGBrgb(142, 24, 48)
HSLhsl(348, 71%, 33%)
HSVhsv(348, 83%, 56%)
CMYKcmyk(0%, 83.1%, 66.2%, 44.3%)
CIE-LABlab(30.92, 48.69, 17.67)
CIE-LCHlch(30.92, 51.80, 19.95°)
OKLaboklab(42.36% 0.1454 0.0424)
OKLCHoklch(42.36% 0.151 16.2)
XYZxyz(12.0168, 6.6193, 3.4406)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1830 #188E76
analogous
#8E186B #8E1830 #8E3B18
triadic
#8E1830 #308E18 #18308E
tetradic
#8E1830 #6B8E18 #188E76 #3B188E
square
#8E1830 #6B8E18 #188E76 #3B188E
split-complementary
#8E1830 #188E3B #186B8E
monochromatic
#25060D #5A0F1E #8E1830 #C22142 #DF4161

Accessibility & contrast

On white

9.04
#8E1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1830
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1830#FFFFFF#000000##FFFFFF
##8E18301.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3930
Deuteranopia (green-blind)
#59512D
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1830;
/* rgb */ color: rgb(142, 24, 48);
/* oklch */ color: oklch(42.4% 0.151 16.2);
Tailwind
colors: {
  custom: {
    50: '#b66368',
    500: '#8e1830',
    950: '#000000',
  },
}
SCSS
$custom: #8e1830;
$custom-light: #b66368;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1830",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 347.797,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.15142,
    "h": 16.2
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#8E1830
secondary
#42C0A6
accent
#EEC93A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1830

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

Preview Lab → · Contrast checker → · Palette generator →

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