#8A3165#8A3165

#8A3165 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.134 H 347.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A3165
RGBrgb(138, 49, 101)
HSLhsl(325, 48%, 37%)
HSVhsv(325, 64%, 54%)
CMYKcmyk(0%, 64.5%, 26.8%, 45.9%)
CIE-LABlab(35.08, 43.42, -10.97)
CIE-LCHlch(35.08, 44.78, 345.82°)
OKLaboklab(45.81% 0.1313 -0.0288)
OKLCHoklch(45.81% 0.134 347.6)
XYZxyz(13.9291, 8.5409, 13.2244)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3165 #318A56
analogous
#83318A #8A3165 #8A3138
triadic
#8A3165 #658A31 #31658A
tetradic
#8A3165 #8A8331 #318A56 #31388A
square
#8A3165 #8A8331 #318A56 #31388A
split-complementary
#8A3165 #388A31 #318A83
monochromatic
#301123 #5D2144 #8A3165 #B74186 #CA6BA3

Accessibility & contrast

On white

7.76
#8A3165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A3165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3165
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3165#FFFFFF#000000##FFFFFF
##8A31651.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4967
Deuteranopia (green-blind)
#555863
Tritanopia (blue-blind)
#932E46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3165;
/* rgb */ color: rgb(138, 49, 101);
/* oklch */ color: oklch(45.8% 0.134 347.6);
Tailwind
colors: {
  custom: {
    50: '#af6f91',
    500: '#8a3165',
    950: '#000000',
  },
}
SCSS
$custom: #8a3165;
$custom-light: #af6f91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3165",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 324.944,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.13446,
    "h": 347.6
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#8A3165
secondary
#65B285
accent
#D78951
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3165

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

Preview Lab → · Contrast checker → · Palette generator →

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