#8E1730#8E1730

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

Color values

HEX#8E1730
RGBrgb(142, 23, 48)
HSLhsl(347, 72%, 32%)
HSVhsv(347, 84%, 56%)
CMYKcmyk(0%, 83.8%, 66.2%, 44.3%)
CIE-LABlab(30.83, 48.96, 17.55)
CIE-LCHlch(30.83, 52.01, 19.72°)
OKLaboklab(42.29% 0.1463 0.0421)
OKLCHoklch(42.29% 0.152 16.1)
XYZxyz(11.9965, 6.5788, 3.4339)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1730 #178E75
analogous
#8E176C #8E1730 #8E3A17
triadic
#8E1730 #308E17 #17308E
tetradic
#8E1730 #6C8E17 #178E75 #3A178E
square
#8E1730 #6C8E17 #178E75 #3A178E
split-complementary
#8E1730 #178E3A #176C8E
monochromatic
#25060C #590E1E #8E1730 #C32042 #E03F61

Accessibility & contrast

On white

9.07
#8E1730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1730
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1730#FFFFFF#000000##FFFFFF
##8E17301.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1730;
/* rgb */ color: rgb(142, 23, 48);
/* oklch */ color: oklch(42.3% 0.152 16.1);
Tailwind
colors: {
  custom: {
    50: '#b66268',
    500: '#8e1730',
    950: '#000000',
  },
}
SCSS
$custom: #8e1730;
$custom-light: #b66268;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1730",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 48
  },
  "hsl": {
    "h": 347.395,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.15218,
    "h": 16.1
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#8E1730
secondary
#40C0A5
accent
#EFC939
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1730

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

Preview Lab → · Contrast checker → · Palette generator →

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