#8A3148#8A3148

#8A3148 is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.8% C 0.122 H 7.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A3148
RGBrgb(138, 49, 72)
HSLhsl(344, 48%, 37%)
HSVhsv(344, 64%, 54%)
CMYKcmyk(0%, 64.5%, 47.8%, 45.9%)
CIE-LABlab(34.13, 39.89, 6.25)
CIE-LCHlch(34.13, 40.38, 8.90°)
OKLaboklab(44.78% 0.1214 0.0163)
OKLCHoklch(44.78% 0.122 7.7)
XYZxyz(12.7502, 8.0693, 7.0157)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3148 #318A73
analogous
#8A3175 #8A3148 #8A4631
triadic
#8A3148 #488A31 #31488A
tetradic
#8A3148 #758A31 #318A73 #46318A
square
#8A3148 #758A31 #318A73 #46318A
split-complementary
#8A3148 #318A46 #31758A
monochromatic
#301119 #5D2130 #8A3148 #B74160 #CA6B84

Accessibility & contrast

On white

8.03
#8A3148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A3148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3148
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3148#FFFFFF#000000##FFFFFF
##8A31481.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444548
Deuteranopia (green-blind)
#5B5746
Tritanopia (blue-blind)
#96253A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a3148;
/* rgb */ color: rgb(138, 49, 72);
/* oklch */ color: oklch(44.8% 0.122 7.7);
Tailwind
colors: {
  custom: {
    50: '#b06e7a',
    500: '#8a3148',
    950: '#000000',
  },
}
SCSS
$custom: #8a3148;
$custom-light: #b06e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3148",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 72
  },
  "hsl": {
    "h": 344.494,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.12244,
    "h": 7.7
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#8A3148
secondary
#65B29E
accent
#D7B451
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A3148

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

Preview Lab → · Contrast checker → · Palette generator →

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