#8A3155#8A3155

#8A3155 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.2% C 0.126 H 358.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8A3155
RGBrgb(138, 49, 85)
HSLhsl(336, 48%, 37%)
HSVhsv(336, 64%, 54%)
CMYKcmyk(0%, 64.5%, 38.4%, 45.9%)
CIE-LABlab(34.51, 41.33, -1.58)
CIE-LCHlch(34.51, 41.36, 357.81°)
OKLaboklab(45.2% 0.1263 -0.0036)
OKLCHoklch(45.2% 0.126 358.4)
XYZxyz(13.2200, 8.2573, 9.4902)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3155 #318A66
analogous
#8A3182 #8A3155 #8A3931
triadic
#8A3155 #558A31 #31558A
tetradic
#8A3155 #828A31 #318A66 #39318A
square
#8A3155 #828A31 #318A66 #39318A
split-complementary
#8A3155 #318A39 #31828A
monochromatic
#30111D #5D2139 #8A3155 #B74171 #CA6B92

Accessibility & contrast

On white

7.92
#8A3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3155
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3155#FFFFFF#000000##FFFFFF
##8A31551.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414756
Deuteranopia (green-blind)
#595753
Tritanopia (blue-blind)
#95293F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3155;
/* rgb */ color: rgb(138, 49, 85);
/* oklch */ color: oklch(45.2% 0.126 358.4);
Tailwind
colors: {
  custom: {
    50: '#b06e84',
    500: '#8a3155',
    950: '#000000',
  },
}
SCSS
$custom: #8a3155;
$custom-light: #b06e84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3155",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 335.73,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.12633,
    "h": 358.4
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#8A3155
secondary
#65B293
accent
#D7A151
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A3155

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

Preview Lab → · Contrast checker → · Palette generator →

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