#8A1947#8A1947

#8A1947 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.151 H 2.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8A1947
RGBrgb(138, 25, 71)
HSLhsl(336, 69%, 32%)
HSVhsv(336, 82%, 54%)
CMYKcmyk(0%, 81.9%, 48.6%, 45.9%)
CIE-LABlab(30.77, 49.00, 2.10)
CIE-LCHlch(30.77, 49.05, 2.45°)
OKLaboklab(42.29% 0.1504 0.0059)
OKLCHoklch(42.29% 0.151 2.2)
XYZxyz(11.9672, 6.5551, 6.5951)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1947 #198A5C
analogous
#8A1980 #8A1947 #8A2319
triadic
#8A1947 #478A19 #19478A
tetradic
#8A1947 #808A19 #198A5C #23198A
square
#8A1947 #808A19 #198A5C #23198A
split-complementary
#8A1947 #198A23 #19808A
monochromatic
#220612 #56102C #8A1947 #BE2262 #DD4180

Accessibility & contrast

On white

9.09
#8A1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1947
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1947#FFFFFF#000000##FFFFFF
##8A19471.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#96002E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1947;
/* rgb */ color: rgb(138, 25, 71);
/* oklch */ color: oklch(42.3% 0.151 2.2);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8a1947',
    950: '#000000',
  },
}
SCSS
$custom: #8a1947;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1947",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 335.575,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.15052,
    "h": 2.2
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#8A1947
secondary
#42BD8B
accent
#ECA43C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1947

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

Preview Lab → · Contrast checker → · Palette generator →

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