#8A1F49#8A1F49

#8A1F49 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.145 H 2.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8A1F49
RGBrgb(138, 31, 73)
HSLhsl(336, 63%, 33%)
HSVhsv(336, 78%, 54%)
CMYKcmyk(0%, 77.5%, 47.1%, 45.9%)
CIE-LABlab(31.50, 47.30, 1.83)
CIE-LCHlch(31.50, 47.34, 2.21°)
OKLaboklab(42.84% 0.1451 0.0052)
OKLCHoklch(42.84% 0.145 2.1)
XYZxyz(12.1748, 6.8659, 6.9862)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F49 #1F8A60
analogous
#8A1F7E #8A1F49 #8A2B1F
triadic
#8A1F49 #498A1F #1F498A
tetradic
#8A1F49 #7E8A1F #1F8A60 #2B1F8A
square
#8A1F49 #7E8A1F #1F8A60 #2B1F8A
split-complementary
#8A1F49 #1F8A2B #1F7E8A
monochromatic
#260914 #58142F #8A1F49 #BC2A63 #D74C83

Accessibility & contrast

On white

8.85
#8A1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F49
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F49#FFFFFF#000000##FFFFFF
##8A1F491.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4A
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#960931
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1f49;
/* rgb */ color: rgb(138, 31, 73);
/* oklch */ color: oklch(42.8% 0.145 2.1);
Tailwind
colors: {
  custom: {
    50: '#b1657b',
    500: '#8a1f49',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f49;
$custom-light: #b1657b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f49",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 336.449,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.14516,
    "h": 2.1
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#8A1F49
secondary
#4BBA8E
accent
#E6A641
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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