#8E1833#8E1833

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

Color values

HEX#8E1833
RGBrgb(142, 24, 51)
HSLhsl(346, 71%, 33%)
HSVhsv(346, 83%, 56%)
CMYKcmyk(0%, 83.1%, 64.1%, 44.3%)
CIE-LABlab(30.98, 48.88, 15.78)
CIE-LCHlch(30.98, 51.36, 17.89°)
OKLaboklab(42.43% 0.1466 0.0383)
OKLCHoklch(42.43% 0.152 14.6)
XYZxyz(12.0808, 6.6449, 3.7778)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1833 #188E73
analogous
#8E186E #8E1833 #8E3818
triadic
#8E1833 #338E18 #18338E
tetradic
#8E1833 #6E8E18 #188E73 #38188E
square
#8E1833 #6E8E18 #188E73 #38188E
split-complementary
#8E1833 #188E38 #186E8E
monochromatic
#25060D #5A0F20 #8E1833 #C22146 #DF4165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1833#FFFFFF#000000##FFFFFF
##8E18331.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)
#3B3933
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1833;
/* rgb */ color: rgb(142, 24, 51);
/* oklch */ color: oklch(42.4% 0.152 14.6);
Tailwind
colors: {
  custom: {
    50: '#b6636a',
    500: '#8e1833',
    950: '#000000',
  },
}
SCSS
$custom: #8e1833;
$custom-light: #b6636a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1833",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 346.271,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.15153,
    "h": 14.6
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#8E1833
secondary
#42C0A3
accent
#EEC53A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E1833

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

Preview Lab → · Contrast checker → · Palette generator →

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