#8A367C#8A367C

#8A367C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.5% C 0.143 H 334.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8A367C
RGBrgb(138, 54, 124)
HSLhsl(310, 44%, 38%)
HSVhsv(310, 61%, 54%)
CMYKcmyk(0%, 60.9%, 10.1%, 45.9%)
CIE-LABlab(36.93, 44.68, -22.60)
CIE-LCHlch(36.93, 50.07, 333.17°)
OKLaboklab(47.49% 0.1295 -0.0615)
OKLCHoklch(47.49% 0.143 334.6)
XYZxyz(15.4386, 9.4980, 20.0850)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A367C #368A44
analogous
#6E368A #8A367C #8A3652
triadic
#8A367C #7C8A36 #367C8A
tetradic
#8A367C #8A6E36 #368A44 #36528A
square
#8A367C #8A6E36 #368A44 #36528A
split-complementary
#8A367C #528A36 #368A6E
monochromatic
#32142D #5E2554 #8A367C #B647A4 #C872BA

Accessibility & contrast

On white

7.24
#8A367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A367C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A367C#FFFFFF#000000##FFFFFF
##8A367C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#903B54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a367c;
/* rgb */ color: rgb(138, 54, 124);
/* oklch */ color: oklch(47.5% 0.143 334.6);
Tailwind
colors: {
  custom: {
    50: '#af72a2',
    500: '#8a367c',
    950: '#000000',
  },
}
SCSS
$custom: #8a367c;
$custom-light: #af72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a367c",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 310,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.14333,
    "h": 334.6
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#8A367C
secondary
#6BB177
accent
#D36A54
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A367C

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

Preview Lab → · Contrast checker → · Palette generator →

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