#8A3153#8A3153

#8A3153 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.1% C 0.126 H 359.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A3153
RGBrgb(138, 49, 83)
HSLhsl(337, 48%, 37%)
HSVhsv(337, 64%, 54%)
CMYKcmyk(0%, 64.5%, 39.9%, 45.9%)
CIE-LABlab(34.45, 41.10, -0.39)
CIE-LCHlch(34.45, 41.10, 359.46°)
OKLaboklab(45.13% 0.1256 -0.0005)
OKLCHoklch(45.13% 0.126 359.8)
XYZxyz(13.1417, 8.2259, 9.0776)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3153 #318A68
analogous
#8A3180 #8A3153 #8A3C31
triadic
#8A3153 #538A31 #31538A
tetradic
#8A3153 #808A31 #318A68 #3C318A
square
#8A3153 #808A31 #318A68 #3C318A
split-complementary
#8A3153 #318A3C #31808A
monochromatic
#30111D #5D2138 #8A3153 #B7416E #CA6B8F

Accessibility & contrast

On white

7.94
#8A3153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A3153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3153
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3153#FFFFFF#000000##FFFFFF
##8A31531.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414654
Deuteranopia (green-blind)
#595751
Tritanopia (blue-blind)
#95283E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3153;
/* rgb */ color: rgb(138, 49, 83);
/* oklch */ color: oklch(45.1% 0.126 359.8);
Tailwind
colors: {
  custom: {
    50: '#b06e83',
    500: '#8a3153',
    950: '#000000',
  },
}
SCSS
$custom: #8a3153;
$custom-light: #b06e83;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3153",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 83
  },
  "hsl": {
    "h": 337.079,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45126,
    "c": 0.12556,
    "h": 359.8
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#8A3153
secondary
#65B294
accent
#D7A451
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A3153

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

Preview Lab → · Contrast checker → · Palette generator →

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