#8A1938#8A1938

#8A1938 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.147 H 11.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8A1938
RGBrgb(138, 25, 56)
HSLhsl(344, 69%, 32%)
HSVhsv(344, 82%, 54%)
CMYKcmyk(0%, 81.9%, 59.4%, 45.9%)
CIE-LABlab(30.37, 47.76, 11.49)
CIE-LCHlch(30.37, 49.12, 13.53°)
OKLaboklab(41.86% 0.1445 0.0287)
OKLCHoklch(41.86% 0.147 11.2)
XYZxyz(11.5438, 6.3858, 4.3653)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1938 #198A6B
analogous
#8A1971 #8A1938 #8A3319
triadic
#8A1938 #388A19 #19388A
tetradic
#8A1938 #718A19 #198A6B #33198A
square
#8A1938 #718A19 #198A6B #33198A
split-complementary
#8A1938 #198A33 #19718A
monochromatic
#22060E #561023 #8A1938 #BE224D #DD416C

Accessibility & contrast

On white

9.22
#8A1938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1938
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1938#FFFFFF#000000##FFFFFF
##8A19381.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1938;
/* rgb */ color: rgb(138, 25, 56);
/* oklch */ color: oklch(41.9% 0.147 11.2);
Tailwind
colors: {
  custom: {
    50: '#b2636e',
    500: '#8a1938',
    950: '#000000',
  },
}
SCSS
$custom: #8a1938;
$custom-light: #b2636e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1938",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 343.54,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.14734,
    "h": 11.2
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#8A1938
secondary
#42BD9B
accent
#ECBC3C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1938

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

Preview Lab → · Contrast checker → · Palette generator →

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