#8A366D#8A366D

#8A366D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.132 H 343.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8A366D
RGBrgb(138, 54, 109)
HSLhsl(321, 44%, 38%)
HSVhsv(321, 61%, 54%)
CMYKcmyk(0%, 60.9%, 21%, 45.9%)
CIE-LABlab(36.27, 42.26, -14.23)
CIE-LCHlch(36.27, 44.59, 341.38°)
OKLaboklab(46.78% 0.1263 -0.0379)
OKLCHoklch(46.78% 0.132 343.3)
XYZxyz(14.5611, 9.1470, 15.4637)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A366D #368A53
analogous
#7D368A #8A366D #8A3643
triadic
#8A366D #6D8A36 #366D8A
tetradic
#8A366D #8A7D36 #368A53 #36438A
square
#8A366D #8A7D36 #368A53 #36438A
split-complementary
#8A366D #438A36 #368A7D
monochromatic
#321428 #5E254A #8A366D #B64790 #C872AA

Accessibility & contrast

On white

7.42
#8A366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A366D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A366D#FFFFFF#000000##FFFFFF
##8A366D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4D6F
Deuteranopia (green-blind)
#555A6B
Tritanopia (blue-blind)
#92364C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a366d;
/* rgb */ color: rgb(138, 54, 109);
/* oklch */ color: oklch(46.8% 0.132 343.3);
Tailwind
colors: {
  custom: {
    50: '#af7297',
    500: '#8a366d',
    950: '#000000',
  },
}
SCSS
$custom: #8a366d;
$custom-light: #af7297;
$custom-dark: #000000;
JSON
{
  "hex": "#8a366d",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 320.714,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.13188,
    "h": 343.3
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#8A366D
secondary
#6BB183
accent
#D38054
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A366D

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

Preview Lab → · Contrast checker → · Palette generator →

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