#8A1C38#8A1C38

#8A1C38 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.145 H 11.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8A1C38
RGBrgb(138, 28, 56)
HSLhsl(345, 66%, 33%)
HSVhsv(345, 80%, 54%)
CMYKcmyk(0%, 79.7%, 59.4%, 45.9%)
CIE-LABlab(30.69, 46.84, 11.93)
CIE-LCHlch(30.69, 48.34, 14.29°)
OKLaboklab(42.1% 0.1416 0.0297)
OKLCHoklch(42.1% 0.145 11.9)
XYZxyz(11.6115, 6.5210, 4.3879)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C38 #1C8A6E
analogous
#8A1C6F #8A1C38 #8A371C
triadic
#8A1C38 #388A1C #1C388A
tetradic
#8A1C38 #6F8A1C #1C8A6E #371C8A
square
#8A1C38 #6F8A1C #1C8A6E #371C8A
split-complementary
#8A1C38 #1C8A37 #1C6F8A
monochromatic
#24070F #571223 #8A1C38 #BD264D #DA476C

Accessibility & contrast

On white

9.12
#8A1C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C38
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C38#FFFFFF#000000##FFFFFF
##8A1C381.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#575035
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1c38;
/* rgb */ color: rgb(138, 28, 56);
/* oklch */ color: oklch(42.1% 0.145 11.9);
Tailwind
colors: {
  custom: {
    50: '#b2646e',
    500: '#8a1c38',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c38;
$custom-light: #b2646e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c38",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 344.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.14465,
    "h": 11.9
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#8A1C38
secondary
#46BB9E
accent
#E9BE3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1C38

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

Preview Lab → · Contrast checker → · Palette generator →

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