#8A1833#8A1833

#8A1833 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 13.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#8A1833
RGBrgb(138, 24, 51)
HSLhsl(346, 70%, 32%)
HSVhsv(346, 83%, 54%)
CMYKcmyk(0%, 82.6%, 63%, 45.9%)
CIE-LABlab(30.15, 47.70, 14.52)
CIE-LCHlch(30.15, 49.86, 16.93°)
OKLaboklab(41.66% 0.1434 0.0355)
OKLCHoklch(41.66% 0.148 13.9)
XYZxyz(11.4066, 6.2973, 3.7462)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1833 #188A6F
analogous
#8A186C #8A1833 #8A3618
triadic
#8A1833 #338A18 #18338A
tetradic
#8A1833 #6C8A18 #188A6F #36188A
square
#8A1833 #6C8A18 #188A6F #36188A
split-complementary
#8A1833 #188A36 #186C8A
monochromatic
#22060C #560F20 #8A1833 #BE2146 #DE3F64

Accessibility & contrast

On white

9.30
#8A1833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1833
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1833#FFFFFF#000000##FFFFFF
##8A18331.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393833
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1833;
/* rgb */ color: rgb(138, 24, 51);
/* oklch */ color: oklch(41.7% 0.148 13.9);
Tailwind
colors: {
  custom: {
    50: '#b3626a',
    500: '#8a1833',
    950: '#000000',
  },
}
SCSS
$custom: #8a1833;
$custom-light: #b3626a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1833",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 345.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.14772,
    "h": 13.9
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#8A1833
secondary
#40BDA0
accent
#EDC33B
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1833

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

Preview Lab → · Contrast checker → · Palette generator →

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