#8A367B#8A367B

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

Color values

HEX#8A367B
RGBrgb(138, 54, 123)
HSLhsl(311, 44%, 38%)
HSVhsv(311, 61%, 54%)
CMYKcmyk(0%, 60.9%, 10.9%, 45.9%)
CIE-LABlab(36.88, 44.51, -22.05)
CIE-LCHlch(36.88, 49.67, 333.65°)
OKLaboklab(47.44% 0.1293 -0.0599)
OKLCHoklch(47.44% 0.143 335.1)
XYZxyz(15.3757, 9.4728, 19.7537)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A367B #368A45
analogous
#6F368A #8A367B #8A3651
triadic
#8A367B #7B8A36 #367B8A
tetradic
#8A367B #8A6F36 #368A45 #36518A
square
#8A367B #8A6F36 #368A45 #36518A
split-complementary
#8A367B #518A36 #368A6F
monochromatic
#32142D #5E2554 #8A367B #B647A2 #C872B9

Accessibility & contrast

On white

7.26
#8A367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A367B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A367B#FFFFFF#000000##FFFFFF
##8A367B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#903B53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a367b;
/* rgb */ color: rgb(138, 54, 123);
/* oklch */ color: oklch(47.4% 0.143 335.1);
Tailwind
colors: {
  custom: {
    50: '#af72a1',
    500: '#8a367b',
    950: '#000000',
  },
}
SCSS
$custom: #8a367b;
$custom-light: #af72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a367b",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 310.714,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.14251,
    "h": 335.1
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#8A367B
secondary
#6BB178
accent
#D36B54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8A367B

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

Preview Lab → · Contrast checker → · Palette generator →

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