#8A1546#8A1546

#8A1546 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.154 H 2.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#8A1546
RGBrgb(138, 21, 70)
HSLhsl(335, 74%, 31%)
HSVhsv(335, 85%, 54%)
CMYKcmyk(0%, 84.8%, 49.3%, 45.9%)
CIE-LABlab(30.36, 50.00, 2.16)
CIE-LCHlch(30.36, 50.04, 2.48°)
OKLaboklab(41.98% 0.1536 0.0061)
OKLCHoklch(41.98% 0.154 2.3)
XYZxyz(11.8559, 6.3835, 6.4010)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1546 #158A59
analogous
#8A1580 #8A1546 #8A1E15
triadic
#8A1546 #468A15 #15468A
tetradic
#8A1546 #808A15 #158A59 #1E158A
square
#8A1546 #808A15 #158A59 #1E158A
split-complementary
#8A1546 #158A1E #15808A
monochromatic
#200510 #550D2B #8A1546 #BF1D61 #E1397F

Accessibility & contrast

On white

9.23
#8A1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1546
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1546#FFFFFF#000000##FFFFFF
##8A15461.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343947
Deuteranopia (green-blind)
#534F43
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1546;
/* rgb */ color: rgb(138, 21, 70);
/* oklch */ color: oklch(42.0% 0.154 2.3);
Tailwind
colors: {
  custom: {
    50: '#b26279',
    500: '#8a1546',
    950: '#000000',
  },
}
SCSS
$custom: #8a1546;
$custom-light: #b26279;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1546",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 334.872,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.15367,
    "h": 2.3
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#8A1546
secondary
#3DBE88
accent
#F0A338
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1546

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

Preview Lab → · Contrast checker → · Palette generator →

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